[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`.
This commit is contained in:
Ethan Furman 2021-11-18 00:50:42 -08:00 committed by GitHub
parent d754073927
commit feccea6a7e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1152,7 +1152,7 @@ all-uppercase names for members)::
.. note::
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