From: Victor Stinner Date: Thu, 24 Jul 2014 09:34:11 +0000 (+0200) Subject: Issue #20055: Fix BaseEventLoop.stop() docstring, incomplete sentence. X-Git-Tag: v3.5.0a1~1218^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5006b1fd96d614e521573e98ce834e5da17b39c7;p=python Issue #20055: Fix BaseEventLoop.stop() docstring, incomplete sentence. Patch written by Saimadhav Heblikar. --- diff --git a/Lib/asyncio/base_events.py b/Lib/asyncio/base_events.py index 0aeaae4287..d0a337bdf5 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)