]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[Enum] Typo: fix DuplicateFreeEnum example docs (GH-99265)
authorBruno Neyra <112962296+blv-brunoneyra@users.noreply.github.com>
Wed, 9 Nov 2022 00:39:56 +0000 (21:39 -0300)
committerGitHub <noreply@github.com>
Wed, 9 Nov 2022 00:39:56 +0000 (16:39 -0800)
Doc/howto/enum.rst

index 03f05657997cfda39af90d68a1ca76e4eb5f194f..5c2fc6f29c0f399238c1da288d7c5934be1e987e 100644 (file)
@@ -1299,7 +1299,7 @@ enumerations)::
 DuplicateFreeEnum
 ^^^^^^^^^^^^^^^^^
 
-Raises an error if a duplicate member name is found instead of creating an
+Raises an error if a duplicate member value is found instead of creating an
 alias::
 
     >>> class DuplicateFreeEnum(Enum):