Skip to content

Commit 5a25fea

Browse files
committed
Fix colon usage inconsistency
1 parent b253b1c commit 5a25fea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/traceback.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1135,7 +1135,7 @@ def __init__(self, exc_type, exc_value, exc_traceback, *, limit=None,
11351135
if suggestion.isascii():
11361136
self._str += f". Did you mean '.{suggestion}' instead of '.{wrong_name}'?"
11371137
else:
1138-
self._str += f". Did you mean: '.{suggestion}' ({suggestion!a}) instead of '.{wrong_name}' ({wrong_name!a})?"
1138+
self._str += f". Did you mean '.{suggestion}' ({suggestion!a}) instead of '.{wrong_name}' ({wrong_name!a})?"
11391139
elif exc_type and issubclass(exc_type, NameError) and \
11401140
getattr(exc_value, "name", None) is not None:
11411141
wrong_name = getattr(exc_value, "name", None)

0 commit comments

Comments
 (0)