]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] gh-111797: fix enum how-to (GH-111805)
authorEthan Furman <ethan@stoneleaf.us>
Tue, 7 Nov 2023 02:57:10 +0000 (18:57 -0800)
committerGitHub <noreply@github.com>
Tue, 7 Nov 2023 02:57:10 +0000 (18:57 -0800)
remove extra error line in how-to

Doc/howto/enum.rst

index a714f6d9aa3c7e4b2648e8290929d59d5ecdec21..3deb071144633b094aa28609a14e884d3cdee80a 100644 (file)
@@ -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::