summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/unix_events.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-06-05 10:06:44 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-06-05 10:06:44 (GMT)
commitf9e49dd346711dff6d4301a2edc0ca23f7f12b6f (patch)
tree39964a81d61b88c21f47fec156e84393e98ea005 /Lib/asyncio/unix_events.py
parent1a170a74f7c2fc57e9df7bce139a604ddface1fc (diff)
downloadcpython-f9e49dd346711dff6d4301a2edc0ca23f7f12b6f.zip
cpython-f9e49dd346711dff6d4301a2edc0ca23f7f12b6f.tar.gz
cpython-f9e49dd346711dff6d4301a2edc0ca23f7f12b6f.tar.bz2
Tulip issue 83, Python issue #21252: Fill some XXX docstrings in asyncio
Diffstat (limited to 'Lib/asyncio/unix_events.py')
-rw-r--r--Lib/asyncio/unix_events.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/asyncio/unix_events.py b/Lib/asyncio/unix_events.py
index 230fbc3..acb327d 100644
--- a/Lib/asyncio/unix_events.py
+++ b/Lib/asyncio/unix_events.py
@@ -822,7 +822,7 @@ class _UnixDefaultEventLoopPolicy(events.BaseDefaultEventLoopPolicy):
self._watcher.attach_loop(loop)
def get_child_watcher(self):
- """Get the child watcher
+ """Get the watcher for child processes.
If not yet set, a SafeChildWatcher object is automatically created.
"""
@@ -832,7 +832,7 @@ class _UnixDefaultEventLoopPolicy(events.BaseDefaultEventLoopPolicy):
return self._watcher
def set_child_watcher(self, watcher):
- """Set the child watcher"""
+ """Set the watcher for child processes."""
assert watcher is None or isinstance(watcher, AbstractChildWatcher)