diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-10-03 14:26:57 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-03 14:26:57 -0700 |
commit | 8edde5caabc611c6320fd104244abe3a409cf0b6 (patch) | |
tree | 4b628896afe118cf2cf9d92185a66073cebec7cd | |
parent | e74fa70bcc379de1ce956273c5386fc8a7b9c5e6 (diff) | |
download | cpython-git-8edde5caabc611c6320fd104244abe3a409cf0b6.tar.gz |
bpo-34344 Fix AbstractEventLoopPolicy.get_event_loop docstring (GH-16463)
(cherry picked from commit b23a8423a923077e4f83d3f328bb7542b4c940ed)
Co-authored-by: idomic <michael.ido@gmail.com>
-rw-r--r-- | Lib/asyncio/events.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/asyncio/events.py b/Lib/asyncio/events.py index d381b1c596..ca08663a5b 100644 --- a/Lib/asyncio/events.py +++ b/Lib/asyncio/events.py @@ -626,9 +626,9 @@ class BaseDefaultEventLoopPolicy(AbstractEventLoopPolicy): self._local = self._Local() def get_event_loop(self): - """Get the event loop. + """Get the event loop for the current context. - This may be None or an instance of EventLoop. + Returns an instance of EventLoop or raises an exception. """ if (self._local._loop is None and not self._local._set_called and |