Skip to content

Commit cc3cbe5

Browse files
committed
Fix typo in asyncio event loop docs: 'signals' -> 'signal'
The example section references the `signal` module, not `signals`. Closes #148067
1 parent 985216c commit cc3cbe5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/asyncio-eventloop.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2055,7 +2055,7 @@ Wait until a file descriptor received some data using the
20552055
Set signal handlers for SIGINT and SIGTERM
20562056
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
20572057

2058-
(This ``signals`` example only works on Unix.)
2058+
(This ``signal`` example only works on Unix.)
20592059

20602060
Register handlers for signals :const:`~signal.SIGINT` and :const:`~signal.SIGTERM`
20612061
using the :meth:`loop.add_signal_handler` method::

0 commit comments

Comments
 (0)