summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-07-24 09:34:26 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-07-24 09:34:26 (GMT)
commitf0d6062e4294d479986f835b7be1ec4cd7d2747e (patch)
tree6f662d5eb255cc6e8709b9c32993b13f75079016
parenteb14455877c980f44ecf1e2ce157467f527c9ff9 (diff)
parent5006b1fd96d614e521573e98ce834e5da17b39c7 (diff)
downloadcpython-f0d6062e4294d479986f835b7be1ec4cd7d2747e.zip
cpython-f0d6062e4294d479986f835b7be1ec4cd7d2747e.tar.gz
cpython-f0d6062e4294d479986f835b7be1ec4cd7d2747e.tar.bz2
(Merge 3.4) Issue #20055: Fix BaseEventLoop.stop() docstring, incomplete
sentence. Patch written by Saimadhav Heblikar.
-rw-r--r--Lib/asyncio/base_events.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/asyncio/base_events.py b/Lib/asyncio/base_events.py
index 0aeaae4..d0a337b 100644
--- a/Lib/asyncio/base_events.py
+++ b/Lib/asyncio/base_events.py
@@ -270,9 +270,9 @@ class BaseEventLoop(events.AbstractEventLoop):
def stop(self):
"""Stop running the event loop.
- Every callback scheduled before stop() is called will run.
- Callback scheduled after stop() is called won't. However,
- those callbacks will run if run_*() is called again later.
+ Every callback scheduled before stop() is called will run. Callbacks
+ scheduled after stop() is called will not run. However, those callbacks
+ will run if run_forever is called again later.
"""
self.call_soon(_raise_stop_error)