diff options
author | Rahul Jha <rj722@protonmail.com> | 2018-09-10 18:21:04 (GMT) |
---|---|---|
committer | Ethan Furman <ethan@stoneleaf.us> | 2018-09-10 18:21:04 (GMT) |
commit | 9430652535f88125d8003f342a8884d34885d876 (patch) | |
tree | d0b6fff5561ab141a9209c9f78c242979b94e222 /Misc | |
parent | 51a4743d19abd016f0772a57fb31df7af9220e18 (diff) | |
download | cpython-9430652535f88125d8003f342a8884d34885d876.zip cpython-9430652535f88125d8003f342a8884d34885d876.tar.gz cpython-9430652535f88125d8003f342a8884d34885d876.tar.bz2 |
bpo-33217: Raise TypeError for non-Enum lookups in Enums (GH-6651)
* bpo-33217: Raise TypeError for non-Enum lookups in Enums
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2018-04-30-13-29-47.bpo-33217.TENDzd.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-04-30-13-29-47.bpo-33217.TENDzd.rst b/Misc/NEWS.d/next/Library/2018-04-30-13-29-47.bpo-33217.TENDzd.rst new file mode 100644 index 0000000..071f5f16b --- /dev/null +++ b/Misc/NEWS.d/next/Library/2018-04-30-13-29-47.bpo-33217.TENDzd.rst @@ -0,0 +1,2 @@ +Raise :exc:`TypeError` when looking up non-Enum objects in Enum classes and +Enum members. |