Skip to content

Commit c454f63

Browse files
yihong0618picnixz
andauthored
Update Lib/_pyrepl/unix_console.py
Co-authored-by: Bénédikt Tran <[email protected]>
1 parent 85b571d commit c454f63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/_pyrepl/unix_console.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ def restore(self):
399399
# from a non-main thread on a non-Windows platform. Otherwise,
400400
# we need to re-raise it as its cause could be different.
401401
if threading.current_thread() is threading.main_thread():
402-
raise e
402+
raise e
403403
del self.old_sigwinch
404404

405405
def push_char(self, char: int | bytes) -> None:

0 commit comments

Comments
 (0)