diff --git a/Lib/asyncio/runners.py b/Lib/asyncio/runners.py index d274576b101..065691bed99 100644 --- a/Lib/asyncio/runners.py +++ b/Lib/asyncio/runners.py @@ -106,7 +106,7 @@ def run(self, coro, *, context=None): # `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