Files
typeshed/stdlib/2
Jelle Zijlstra 7dd2f80194 Fixes to ContextManager (#1249)
* add typing.ContextManager for 3.6+ only

This fixes the easier part of #655.

Would it make sense to add a generic typing.ContextManager that exists in any Python version?

* update comment

* fix argument types for ContextManager.__exit__

* add AsyncContextManager

* add @asynccontextmanager

* typing.ContextManager now always exists

* back out async-related changes

Will submit those in a separate PR later

* fix import order

* AbstractContextManager only exists in 3.6+

* AbstractContextManager -> ContextManager
2017-05-08 16:21:51 -07:00
..
2016-10-26 16:24:49 -07:00
2016-12-20 00:16:44 -08:00
2017-04-09 19:27:25 -07:00
2017-01-26 12:05:53 -08:00
2016-12-19 22:09:35 -08:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-12-19 21:52:56 -08:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-12-21 01:06:52 -08:00
2017-03-18 15:16:56 -07:00
2016-12-19 22:09:35 -08:00
2016-11-08 19:39:27 -08:00
2016-10-26 16:24:49 -07:00
2017-03-19 09:43:40 -07:00
2017-02-13 20:21:19 -08:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-12-19 22:09:35 -08:00
2016-10-26 16:24:49 -07:00
2016-12-19 22:09:35 -08:00
2016-10-26 16:24:49 -07:00
2016-12-19 23:53:19 -08:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-12-19 22:09:35 -08:00
2017-04-02 15:01:17 -07:00
2016-10-26 16:24:49 -07:00
2016-12-19 22:09:35 -08:00
2016-12-19 21:52:56 -08:00
2016-12-19 23:53:19 -08:00
2016-10-30 14:51:52 -07:00
2016-10-26 16:24:49 -07:00
2016-12-20 01:54:34 -08:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2017-04-02 15:01:17 -07:00
2016-12-19 22:09:35 -08:00
2017-04-30 14:16:30 -07:00
2016-10-26 16:24:49 -07:00
2016-10-26 16:24:49 -07:00
2016-12-19 22:09:35 -08:00
2017-01-31 09:25:45 -08:00
2016-12-20 02:28:12 -08:00
2016-12-19 23:53:19 -08:00
2016-12-19 22:09:35 -08:00
2016-12-19 23:53:19 -08:00
2017-01-31 14:56:48 -08:00
2016-12-19 22:09:35 -08:00
2016-10-26 16:24:49 -07:00
2016-12-19 22:09:35 -08:00
2017-04-24 18:53:47 -07:00
2016-12-19 21:52:56 -08:00
2016-10-26 16:24:49 -07:00
2016-12-19 22:09:35 -08:00
2016-10-26 16:24:49 -07:00
2016-12-19 22:09:35 -08:00
2016-10-26 16:24:49 -07:00
2017-02-06 17:23:22 -08:00
2016-10-26 16:24:49 -07:00
2017-04-21 17:52:48 -07:00
2017-03-19 09:43:40 -07:00
2016-12-19 23:53:19 -08:00
2017-03-23 08:26:45 -07:00
2017-03-12 19:32:46 -07:00
2016-12-19 22:09:35 -08:00
2016-10-26 16:24:49 -07:00
2017-05-08 16:21:51 -07:00
2016-12-19 22:09:35 -08:00
2016-10-26 16:24:49 -07:00
2016-12-19 21:52:56 -08:00
2016-12-19 22:09:35 -08:00