[Python-checkins] bpo-35395: fix typos in asyncio eventloop documentation (GH-10880)

Miss Islington (bot) webhook-mailer at python.org
Tue Dec 4 02:31:20 EST 2018


https://github.com/python/cpython/commit/17473347942353946fe455f797a2197cb89c1090
commit: 17473347942353946fe455f797a2197cb89c1090
branch: master
author: Naglis <naglis at users.noreply.github.com>
committer: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
date: 2018-12-03T23:31:15-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

files:
M Doc/library/asyncio-eventloop.rst

diff --git a/Doc/library/asyncio-eventloop.rst b/Doc/library/asyncio-eventloop.rst
index d24413a4a7fb..da2339132a40 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)
 



More information about the Python-checkins mailing list