]> granicus.if.org Git - python/commit
bpo-28556: Updates to typing module (GH-2076) (GH-2088)
authorMariatta <Mariatta@users.noreply.github.com>
Sat, 10 Jun 2017 21:41:38 +0000 (14:41 -0700)
committerGitHub <noreply@github.com>
Sat, 10 Jun 2017 21:41:38 +0000 (14:41 -0700)
commitea8b34868c3a765ac9a5eed7321af8f4548a9654
tree7a2f20af124440093a7401b2520740cfb951b857
parentafa6a389606402779c5048a7211edbf2678cecff
bpo-28556: Updates to typing module (GH-2076) (GH-2088)

This PR contains two updates to typing module:

- Support ContextManager on all versions (original PR by Jelle Zijlstra).
- Add generic AsyncContextManager..
(cherry picked from commit 29fda8db16e0edab92841277fa223f844f5a92cc)
Lib/test/test_typing.py
Lib/typing.py
Misc/NEWS