[Python-checkins] [3.9] [Enum] update member.member removal (GH-29611)
webhook-mailer at python.org
Thu Nov 18 03:51:25 EST 2021
author: Ethan Furman <ethan at stoneleaf.us>
committer: ethanfurman <ethan at stoneleaf.us>
[3.9] [Enum] update member.member removal (GH-29611)
Accessing one enum member from another originally raised an `AttributeError`, but became possible due to a performance boost implementation detail. In 3.11 it will again raise an `AttributeError`.
diff --git a/Doc/library/enum.rst b/Doc/library/enum.rst
index 4e15901c66bfc..056b9f7bf427a 100644
@@ -1152,7 +1152,7 @@ all-uppercase names for members)::
- This behavior is deprecated and will be removed in 3.12.
+ This behavior is deprecated and will be removed in 3.11.
.. versionchanged:: 3.5
More information about the Python-checkins