Skip to content

Commit 6054352

Browse files
committed
Less words, more meaning
1 parent 79539b0 commit 6054352

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Lib/traceback.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1133,8 +1133,7 @@ def __init__(self, exc_type, exc_value, exc_traceback, *, limit=None,
11331133
suggestion = _compute_suggestion_error(exc_value, exc_traceback, wrong_name)
11341134
if suggestion:
11351135
if suggestion.isascii():
1136-
# Prepending attribute accesses with a dot makes the message much
1137-
# easier to understand in the most common cases.
1136+
# Prepending attribute accesses with a dot makes the message much clearer.
11381137
# See GH-144285.
11391138
self._str += f". Did you mean '.{suggestion}' instead of '.{wrong_name}'?"
11401139
else:

0 commit comments

Comments
 (0)