commit | 57161aac5eb9bcb0b43e551a1937ff0a84c1ec52 | [log] [tgz] |
---|---|---|
author | Jelle Zijlstra <jelle.zijlstra@gmail.com> | Fri Jun 09 08:21:47 2017 -0700 |
committer | Guido van Rossum <guido@python.org> | Fri Jun 09 08:21:47 2017 -0700 |
tree | 04296787a6bbf099a38d2b24ac91fc0c83a8e7df | |
parent | 3b5cf85edc188345668f987c824a2acb338a7816 [diff] |
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.