]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-91880 - fix typo (GH-92069)
authorDavid Hewitt <1939362+davidhewitt@users.noreply.github.com>
Sat, 30 Apr 2022 05:23:54 +0000 (06:23 +0100)
committerGitHub <noreply@github.com>
Sat, 30 Apr 2022 05:23:54 +0000 (22:23 -0700)
https://github.com/python/cpython/issues/91880#issuecomment-1113914241 - With thanks to @MojoVampire for spotting this.

Automerge-Triggered-By: GH:gvanrossum
Lib/asyncio/runners.py

index d274576b101340eadaaee317f77dec67bd8c2879..065691bed99285827dfe28b9326bc942395daad4 100644 (file)
@@ -106,7 +106,7 @@ class Runner:
                 # `signal.signal` may throw if `threading.main_thread` does
                 # not support signals (e.g. embedded interpreter with signals
                 # not registered - see gh-91880)
-                signal_handler = None
+                sigint_handler = None
         else:
             sigint_handler = None