[Python-checkins] Fix typo in documentation of AbstractEventLoopPolicy.set_child_watcher() (GH-11369)

Miss Islington (bot) webhook-mailer at python.org
Sun Dec 30 17:07:08 EST 2018


https://github.com/python/cpython/commit/c74061d49b2b8275b376e212cccf2922d022e607
commit: c74061d49b2b8275b376e212cccf2922d022e607
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2018-12-30T14:07:05-08:00
summary:

Fix typo in documentation of AbstractEventLoopPolicy.set_child_watcher() (GH-11369)


`set_child_watcher()` *sets* the watcher.
(cherry picked from commit 1b29c03c95dbffa05f2bac0f8f1a36b21606a504)

Co-authored-by: sth <sth.dev at tejp.de>

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

diff --git a/Doc/library/asyncio-policy.rst b/Doc/library/asyncio-policy.rst
index cab25934d782..07842daa28b8 100644
--- a/Doc/library/asyncio-policy.rst
+++ b/Doc/library/asyncio-policy.rst
@@ -81,7 +81,7 @@ The abstract event loop policy base class is defined as follows:
 
    .. method:: set_child_watcher(watcher)
 
-      Get the current child process watcher to *watcher*.
+      Set the current child process watcher to *watcher*.
 
       This function is Unix specific.
 



More information about the Python-checkins mailing list