mirror of
https://github.com/python/cpython
synced 2026-09-28 03:33:18 +03:00
gh-116871: Improve name suggestions in tracebacks (GH-116930)
Only include underscored names in name suggestions for AttributeError and ImportError if the original name was underscored.
This commit is contained in:
parent
d6fa1d4bee
commit
0085c3ae8f
3 changed files with 45 additions and 0 deletions
|
|
@ -0,0 +1,2 @@
|
|||
Name suggestions for :exc:`AttributeError` and :exc:`ImportError` now only
|
||||
include underscored names if the original name was underscored.
|
||||
Loading…
Add table
Add a link
Reference in a new issue