summaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
authorJelle Zijlstra <jelle.zijlstra@gmail.com>2017-06-09 08:21:47 -0700
committerGuido van Rossum <guido@python.org>2017-06-09 08:21:47 -0700
commit57161aac5eb9bcb0b43e551a1937ff0a84c1ec52 (patch)
tree04296787a6bbf099a38d2b24ac91fc0c83a8e7df /Python
parent3b5cf85edc188345668f987c824a2acb338a7816 (diff)
downloadcpython-git-57161aac5eb9bcb0b43e551a1937ff0a84c1ec52.tar.gz
bpo-30266: support "= None" pattern in AbstractContextManager (#1448)
contextlib.AbstractContextManager now supports anti-registration by setting __enter__ = None or __exit__ = None, following the pattern introduced in bpo-25958.
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions