Skip to content

Commit d48c82e

Browse files
remove
1 parent e6feee9 commit d48c82e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/idlelib/run.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,13 +292,13 @@ def print_exc(typ, exc, tb, prefix=""):
292292
cause = exc.__cause__
293293
prefix2 = f"{prefix}| " if prefix else ""
294294
if cause is not None and id(cause) not in seen:
295-
print_exc(type(cause), cause, cause.__traceback__, prefix)
295+
print_exc(type(cause), cause, cause.__traceback__, prefix)
296296
print(f"{prefix2}\n{prefix2}The above exception was the direct cause "
297297
f"of the following exception:\n{prefix2}", file=efile)
298298
elif (context is not None and
299299
not exc.__suppress_context__ and
300300
id(context) not in seen):
301-
print_exc(type(context), context, context.__traceback__, prefix)
301+
print_exc(type(context), context, context.__traceback__, prefix)
302302
print(f"{prefix2}\n{prefix2}During handling of the above exception, "
303303
f"another exception occurred:\n{prefix2}", file=efile)
304304
if isinstance(exc, BaseExceptionGroup):

Misc/NEWS.d/next/IDLE/2025-10-05-19-16-33.gh-issue-139551.TX9BRc.rst renamed to Misc/NEWS.d/next/IDLE/2025-10-05-19-22-05.gh-issue-139551.TX9BRc.rst

File renamed without changes.

0 commit comments

Comments
 (0)