diff options
author | Benjamin Peterson <benjamin@python.org> | 2022-05-02 19:43:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-02 19:43:52 (GMT) |
commit | dd57fe1dd7675c53e69af33b511786127ae8d25c (patch) | |
tree | 2e0261a134e65320635b84e85db5b7ad2b196325 /Doc/library | |
parent | ff88f7e007deb7a9f7539938dcf6f4adbfebf442 (diff) | |
download | cpython-dd57fe1dd7675c53e69af33b511786127ae8d25c.zip cpython-dd57fe1dd7675c53e69af33b511786127ae8d25c.tar.gz cpython-dd57fe1dd7675c53e69af33b511786127ae8d25c.tar.bz2 |
Fix duplicate word. (GH-92182)
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/asyncio-runner.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/asyncio-runner.rst b/Doc/library/asyncio-runner.rst index a526b45..d0df1db 100644 --- a/Doc/library/asyncio-runner.rst +++ b/Doc/library/asyncio-runner.rst @@ -139,7 +139,7 @@ To mitigate this issue, :mod:`asyncio` handles :const:`signal.SIGINT` as follows execution. 3. When :const:`signal.SIGINT` is raised by :kbd:`Ctrl-C`, the custom signal handler cancels the main task by calling :meth:`asyncio.Task.cancel` which raises - :exc:`asyncio.CancelledError` inside the the main task. This causes the Python stack + :exc:`asyncio.CancelledError` inside the main task. This causes the Python stack to unwind, ``try/except`` and ``try/finally`` blocks can be used for resource cleanup. After the main task is cancelled, :meth:`asyncio.Runner.run` raises :exc:`KeyboardInterrupt`. |