From: Ethan Furman Date: Tue, 7 Nov 2023 02:57:10 +0000 (-0800) Subject: [3.11] gh-111797: fix enum how-to (GH-111805) X-Git-Tag: v3.11.7~92 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4edf25565f20550024f98bd2a561d3ee15cc3aac;p=thirdparty%2FPython%2Fcpython.git [3.11] gh-111797: fix enum how-to (GH-111805) remove extra error line in how-to --- diff --git a/Doc/howto/enum.rst b/Doc/howto/enum.rst index a714f6d9aa3c..3deb07114463 100644 --- a/Doc/howto/enum.rst +++ b/Doc/howto/enum.rst @@ -1401,7 +1401,6 @@ alias:: Traceback (most recent call last): ... ValueError: aliases not allowed in DuplicateFreeEnum: 'GRENE' --> 'GREEN' - Error calling __set_name__ on '_proto_member' instance 'GRENE' in 'Color' .. note::