]> granicus.if.org Git - python/commitdiff
Issue #20055: Fix BaseEventLoop.stop() docstring, incomplete sentence.
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 24 Jul 2014 09:34:11 +0000 (11:34 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Thu, 24 Jul 2014 09:34:11 +0000 (11:34 +0200)
Patch written by Saimadhav Heblikar.

Lib/asyncio/base_events.py

index 0aeaae4287a39232169fc3032453a7ceb8f1895f..d0a337bdf5199f8d8ff099136d0322462600fad9 100644 (file)
@@ -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)