diff options
author | Naglis <naglis@users.noreply.github.com> | 2018-12-04 07:31:15 (GMT) |
---|---|---|
committer | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-12-04 07:31:15 (GMT) |
commit | 17473347942353946fe455f797a2197cb89c1090 (patch) | |
tree | 4ebee987851646a495307266c4d3ff100502a5ca /Doc | |
parent | 8ca0fa9d2f4de6e69f0902790432e0ab2f37ba68 (diff) | |
download | cpython-17473347942353946fe455f797a2197cb89c1090.zip cpython-17473347942353946fe455f797a2197cb89c1090.tar.gz cpython-17473347942353946fe455f797a2197cb89c1090.tar.bz2 |
bpo-35395: fix typos in asyncio eventloop documentation (GH-10880)
Fixes `loop.add_writer` and `loop.add_signal_handler` method documentation to correctly reference the callback parameter from method signature.
https://bugs.python.org/issue35395
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/asyncio-eventloop.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/asyncio-eventloop.rst b/Doc/library/asyncio-eventloop.rst index d24413a..da23391 100644 --- a/Doc/library/asyncio-eventloop.rst +++ b/Doc/library/asyncio-eventloop.rst @@ -756,7 +756,7 @@ Watching file descriptors writing. Use :func:`functools.partial` :ref:`to pass keyword arguments - <asyncio-pass-keywords>` to *func*. + <asyncio-pass-keywords>` to *callback*. .. method:: loop.remove_writer(fd) @@ -970,7 +970,7 @@ Unix signals Raise :exc:`RuntimeError` if there is a problem setting up the handler. Use :func:`functools.partial` :ref:`to pass keyword arguments - <asyncio-pass-keywords>` to *func*. + <asyncio-pass-keywords>` to *callback*. .. method:: loop.remove_signal_handler(sig) |