[Python-checkins] cpython (merge 3.4 -> default): (Merge 3.4) Issue #20055: Fix BaseEventLoop.stop() docstring, incomplete
victor.stinner
python-checkins at python.org
Thu Jul 24 11:34:39 CEST 2014
http://hg.python.org/cpython/rev/f657b64c67ab
changeset: 91819:f657b64c67ab
parent: 91817:7f40fb5e488f
parent: 91818:84f26a437893
user: Victor Stinner <victor.stinner at gmail.com>
date: Thu Jul 24 11:34:26 2014 +0200
summary:
(Merge 3.4) Issue #20055: Fix BaseEventLoop.stop() docstring, incomplete
sentence. Patch written by Saimadhav Heblikar.
files:
Lib/asyncio/base_events.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Lib/asyncio/base_events.py b/Lib/asyncio/base_events.py
--- a/Lib/asyncio/base_events.py
+++ b/Lib/asyncio/base_events.py
@@ -270,9 +270,9 @@
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)
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list