From 65c089751b81a132613f4528f16938918a013f25 Mon Sep 17 00:00:00 2001 From: Ethan Furman Date: Wed, 17 Nov 2021 23:38:56 -0800 Subject: [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`. --- 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 eb5ffd0..7d166bf 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