bpo-34344 Fix AbstractEventLoopPolicy.get_event_loop docstring (GH-16463)
diff --git a/Lib/asyncio/events.py b/Lib/asyncio/events.py
index 2f06c4a..36b7ea3 100644
--- a/Lib/asyncio/events.py
+++ b/Lib/asyncio/events.py
@@ -630,9 +630,9 @@
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