diff options
author | Jelle Zijlstra <jelle.zijlstra@gmail.com> | 2017-06-09 15:21:47 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2017-06-09 15:21:47 (GMT) |
commit | 57161aac5eb9bcb0b43e551a1937ff0a84c1ec52 (patch) | |
tree | 04296787a6bbf099a38d2b24ac91fc0c83a8e7df /Lib/pydoc.py | |
parent | 3b5cf85edc188345668f987c824a2acb338a7816 (diff) | |
download | cpython-57161aac5eb9bcb0b43e551a1937ff0a84c1ec52.zip cpython-57161aac5eb9bcb0b43e551a1937ff0a84c1ec52.tar.gz cpython-57161aac5eb9bcb0b43e551a1937ff0a84c1ec52.tar.bz2 |
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 'Lib/pydoc.py')
0 files changed, 0 insertions, 0 deletions