Staging
v0.5.1
https://github.com/python/cpython
Revision 753422f6e32e13d96319b090788f0474f1e21fc4 authored by Mariatta on 10 June 2017, 03:36:28 UTC, committed by GitHub on 10 June 2017, 03:36:28 UTC
contextlib.AbstractContextManager now supports anti-registration
by setting __enter__ = None or __exit__ = None, following the pattern
introduced in bpo-25958..
(cherry picked from commit 57161aac5eb9bcb0b43e551a1937ff0a84c1ec52)
1 parent e380c19
History
Tip revision: 753422f6e32e13d96319b090788f0474f1e21fc4 authored by Mariatta on 10 June 2017, 03:36:28 UTC
bpo-30266: support "= None" pattern in AbstractContextManager (GH-1448) (GH-2054)
Tip revision: 753422f
File Mode Size
Grammar -rw-r--r-- 6.3 KB

back to top