diff options
author | Carl Bordum Hansen <carl@bordum.dk> | 2022-06-22 07:04:04 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-22 07:04:04 (GMT) |
commit | 9a479c3c1063f434629a1f7553f5a4715d738f30 (patch) | |
tree | c7923f18e67f7ed4782d328b62b4d77d1ff4c261 /Misc | |
parent | 6575841266b83f3121c188695c7513e551ade034 (diff) | |
download | cpython-9a479c3c1063f434629a1f7553f5a4715d738f30.zip cpython-9a479c3c1063f434629a1f7553f5a4715d738f30.tar.gz cpython-9a479c3c1063f434629a1f7553f5a4715d738f30.tar.bz2 |
gh-88123: Implement new Enum __contains__ (GH-93298)
Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2022-05-27-22-17-11.gh-issue-88123.mkYl5q.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-05-27-22-17-11.gh-issue-88123.mkYl5q.rst b/Misc/NEWS.d/next/Library/2022-05-27-22-17-11.gh-issue-88123.mkYl5q.rst new file mode 100644 index 0000000..46bd37a --- /dev/null +++ b/Misc/NEWS.d/next/Library/2022-05-27-22-17-11.gh-issue-88123.mkYl5q.rst @@ -0,0 +1,2 @@ +Implement Enum __contains__ that returns True or False to replace the +deprecated behaviour that would sometimes raise a TypeError. |