[issue43957] [Enum] update __contains__ to return True for valid values
Ethan Furman
report at bugs.python.org
Tue Apr 27 16:05:15 EDT 2021
Ethan Furman <ethan at stoneleaf.us> added the comment:
New changeset 6bd9288b805c765ec2433f66aa4d82e05767325f by Ethan Furman in branch 'master':
bpo-43957: [Enum] Deprecate ``TypeError`` from containment checks. (GH-25670)
https://github.com/python/cpython/commit/6bd9288b805c765ec2433f66aa4d82e05767325f
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43957>
_______________________________________
More information about the Python-bugs-list
mailing list