summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/events.py
diff options
context:
space:
mode:
authorYury Selivanov <yury@magic.io>2016-09-15 17:10:51 (GMT)
committerYury Selivanov <yury@magic.io>2016-09-15 17:10:51 (GMT)
commitf6d991d88502ee05da7c41217331ff024c634cbc (patch)
treeb7bf5b67f00070efaf07a823b853de4e7a9b39c1 /Lib/asyncio/events.py
parente6265e92bfbc3cda50cc71f049552217db65bf94 (diff)
downloadcpython-f6d991d88502ee05da7c41217331ff024c634cbc.zip
cpython-f6d991d88502ee05da7c41217331ff024c634cbc.tar.gz
cpython-f6d991d88502ee05da7c41217331ff024c634cbc.tar.bz2
asyncio: Sync with the upstream
Diffstat (limited to 'Lib/asyncio/events.py')
-rw-r--r--Lib/asyncio/events.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/asyncio/events.py b/Lib/asyncio/events.py
index c48c5be..cc9a986 100644
--- a/Lib/asyncio/events.py
+++ b/Lib/asyncio/events.py
@@ -248,6 +248,10 @@ class AbstractEventLoop:
"""
raise NotImplementedError
+ def shutdown_asyncgens(self):
+ """Shutdown all active asynchronous generators."""
+ raise NotImplementedError
+
# Methods scheduling callbacks. All these return Handles.
def _timer_handle_cancelled(self, handle):