Skip to content

Commit 65c0897

Browse files
authored
[3.10] [Enum] update member.member removal (GH-29608)
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`.
1 parent 8eabe60 commit 65c0897

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/enum.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1152,7 +1152,7 @@ all-uppercase names for members)::
11521152

11531153
.. note::
11541154

1155-
This behavior is deprecated and will be removed in 3.12.
1155+
This behavior is deprecated and will be removed in 3.11.
11561156

11571157
.. versionchanged:: 3.5
11581158

0 commit comments

Comments
 (0)