changeset: 91818:84f26a437893 branch: 3.4 parent: 91816:f578e1d717b7 user: Victor Stinner date: Thu Jul 24 11:34:11 2014 +0200 files: Lib/asyncio/base_events.py description: Issue #20055: Fix BaseEventLoop.stop() docstring, incomplete sentence. Patch written by Saimadhav Heblikar. diff -r f578e1d717b7 -r 84f26a437893 Lib/asyncio/base_events.py --- a/Lib/asyncio/base_events.py Thu Jul 24 11:36:33 2014 +0300 +++ b/Lib/asyncio/base_events.py Thu Jul 24 11:34:11 2014 +0200 @@ -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)

AltStyle によって変換されたページ (->オリジナル) /