[Python-checkins] bpo-35395: fix typos in asyncio eventloop documentation (GH-10880)
Miss Islington (bot)
webhook-mailer at python.org
Tue Dec 4 02:36:35 EST 2018
https://github.com/python/cpython/commit/6627d3ae1e151095fda4ec2592c7cfb759f23669
commit: 6627d3ae1e151095fda4ec2592c7cfb759f23669
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2018-12-03T23:36:31-08:00
summary:
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
(cherry picked from commit 17473347942353946fe455f797a2197cb89c1090)
Co-authored-by: Naglis <naglis at users.noreply.github.com>
files:
M Doc/library/asyncio-eventloop.rst
diff --git a/Doc/library/asyncio-eventloop.rst b/Doc/library/asyncio-eventloop.rst
index 8215198ce91f..647b7fc5e7a5 100644
--- a/Doc/library/asyncio-eventloop.rst
+++ b/Doc/library/asyncio-eventloop.rst
@@ -750,7 +750,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)
@@ -964,7 +964,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)
More information about the Python-checkins
mailing list