Files
typeshed/third_party/2and3
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-01-16 16:56:25 -05:00
2017-04-03 21:22:32 -07:00
2016-12-20 02:28:12 -08:00
2016-12-21 01:15:26 -08:00
2017-04-12 21:09:23 -07:00
2016-12-19 22:09:35 -08:00
2016-01-16 16:56:25 -05:00