Skip to content

Commit 61f94a0

Browse files
committed
fix: apply comments drop comments
Signed-off-by: yihong0618 <[email protected]>
1 parent 56e0f76 commit 61f94a0

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Lib/_pyrepl/unix_console.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -393,9 +393,6 @@ def restore(self):
393393
try:
394394
signal.signal(signal.SIGWINCH, self.old_sigwinch)
395395
except ValueError as e:
396-
# We can silence the ValueError if signal.signal() raised it
397-
# from a non-main thread on a non-Windows platform. Otherwise,
398-
# we need to re-raise it as its cause could be different.
399396
import threading
400397
if threading.current_thread() is threading.main_thread():
401398
raise e

0 commit comments

Comments
 (0)