commit | eb6364557f9bc4e6be29bb8a8f43308a0e080aba | [log] [tgz] |
---|---|---|
author | Yury Selivanov <yury@magic.io> | Thu Sep 08 22:01:51 2016 -0700 |
committer | Yury Selivanov <yury@magic.io> | Thu Sep 08 22:01:51 2016 -0700 |
tree | 05b7aed24dce255be67e7a60c021c319d13f43c9 | |
parent | b96ef55d493aded2dea18b0208070bdfab4ceb73 [diff] [blame] |
Issue #28003: Implement PEP 525 -- Asynchronous Generators.
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 @@ """ 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):