Commit 5006b1fd authored by Victor Stinner's avatar Victor Stinner

Issue #20055: Fix BaseEventLoop.stop() docstring, incomplete sentence.

Patch written by Saimadhav Heblikar.
parent ca4f3436
...@@ -270,9 +270,9 @@ class BaseEventLoop(events.AbstractEventLoop): ...@@ -270,9 +270,9 @@ class BaseEventLoop(events.AbstractEventLoop):
def stop(self): def stop(self):
"""Stop running the event loop. """Stop running the event loop.
Every callback scheduled before stop() is called will run. Every callback scheduled before stop() is called will run. Callbacks
Callback scheduled after stop() is called won't. However, scheduled after stop() is called will not run. However, those callbacks
those callbacks will run if run_*() is called again later. will run if run_forever is called again later.
""" """
self.call_soon(_raise_stop_error) self.call_soon(_raise_stop_error)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment