commit | 6bd9288b805c765ec2433f66aa4d82e05767325f | [log] [tgz] |
---|---|---|
author | Ethan Furman <ethan@stoneleaf.us> | Tue Apr 27 13:05:08 2021 -0700 |
committer | GitHub <noreply@github.com> | Tue Apr 27 13:05:08 2021 -0700 |
tree | 5810c0de5a0086fec858ccf222cf1d42d459ba96 | |
parent | 9aea31deddf7458be3546f72185740f3cd06687f [diff] |
bpo-43957: [Enum] Deprecate ``TypeError`` from containment checks. (GH-25670) In 3.12 ``True`` or ``False`` will be returned for all containment checks, with ``True`` being returned if the value is either a member of that enum or one of its members' value.