Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update Doc/whatsnew/3.12.rst
Co-authored-by: Ammar Askar <ammar_askar@hotmail.com>
  • Loading branch information
pablogsal and ammaraskar authored Nov 5, 2022
commit b1546e5c29148cfb6445f7e4f4795e9084392e14
2 changes: 1 addition & 1 deletion Doc/whatsnew/3.12.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Improved Error Messages
Now if a :exc:`NameError` is raised in a method and the instance has an
attribute that's exactly equal to the name in the exception, the suggestion
will include ``self.<NAME>`` instead of the closest match in the method
scope. Controbuted by Pablo Galindo in :gh:`99139`.
scope. Contributed by Pablo Galindo in :gh:`99139`.

>>> class A:
... def __init__(self):
Expand Down