Issue #25609: Backport typing.ContextManager.
authorBrett Cannon <brett@python.org>
Fri, 15 Apr 2016 17:51:30 +0000 (10:51 -0700)
committerBrett Cannon <brett@python.org>
Fri, 15 Apr 2016 17:51:30 +0000 (10:51 -0700)
commitf3ad042bfb1ea4de7358d1c7cd8b5a2eb9e21d01
tree16d04d4a627fb1e6bbd19d3b18285f1b8131265f
parent3c149a6832a728281dc87bc6e111117af51059e0
Issue #25609: Backport typing.ContextManager.

This has no semantic impact as the class is guarded with a hasattr()
check; this is being done to keep typing.py in sync between Python 3.5
and 3.6 as requested by Guido.
Lib/typing.py