Skip to content

Commit b4cd5c9

Browse files
authored
Update Lib/idlelib/run.py
1 parent 465097b commit b4cd5c9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/idlelib/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ def print_exc(typ, exc, tb):
274274
if ((not isinstance(exc, NameError) and not isinstance(exc, AttributeError))
275275
or "\n" not in str(exc)):
276276
lines = get_message_lines(typ, exc, tb)
277-
else: # User-created Name/AttributeError with multiline message, GH-135511.
277+
else: # User-created Name/AttributeError with multiline message, GH-135511.
278278
lines = [f"{typ.__name__}: {str(exc)}"]
279279
for line in lines:
280280
print(line, end='', file=efile)

0 commit comments

Comments
 (0)