From feccea6a7eb1309513750bb4a31aee5a65c7c4bf Mon Sep 17 00:00:00 2001 From: Ethan Furman Date: Thu, 18 Nov 2021 00:50:42 -0800 Subject: [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`. --- Doc/library/enum.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/enum.rst b/Doc/library/enum.rst index 4e15901..056b9f7 100644 --- a/Doc/library/enum.rst +++ b/Doc/library/enum.rst @@ -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 -- cgit v0.12