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
Fix typo
  • Loading branch information
johnslavik committed Feb 7, 2026
commit fce786788f424fda1bf572b93ecfa35ffc5b8799
2 changes: 1 addition & 1 deletion Lib/traceback.py
Original file line number Diff line number Diff line change
Expand Up @@ -1133,7 +1133,7 @@ def __init__(self, exc_type, exc_value, exc_traceback, *, limit=None,
suggestion = _compute_suggestion_error(exc_value, exc_traceback, wrong_name)
if suggestion:
if suggestion.isascii():
# Prepending attribute accesseses with a dot makes the message much
# Prepending attribute accesses with a dot makes the message much
# easier to understand in the most common cases.
# See GH-144285.
self._str += f". Did you mean '.{suggestion}' instead of '.{wrong_name}'?"
Expand Down