diff options
author | Mariatta <Mariatta@users.noreply.github.com> | 2017-06-10 03:36:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-10 03:36:28 (GMT) |
commit | 753422f6e32e13d96319b090788f0474f1e21fc4 (patch) | |
tree | c69c5fe8db142205521b495fc1e4dcd7e39c8d7c /Lib/idlelib/help_about.py | |
parent | e380c19b7e88d97d3497016f1065d6922415db1c (diff) | |
download | cpython-753422f6e32e13d96319b090788f0474f1e21fc4.zip cpython-753422f6e32e13d96319b090788f0474f1e21fc4.tar.gz cpython-753422f6e32e13d96319b090788f0474f1e21fc4.tar.bz2 |
bpo-30266: support "= None" pattern in AbstractContextManager (GH-1448) (GH-2054)
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)
Diffstat (limited to 'Lib/idlelib/help_about.py')
0 files changed, 0 insertions, 0 deletions