Skip to content

Commit

Permalink
[Enum] Typo: fix DuplicateFreeEnum example docs (pythonGH-99265)
Browse files Browse the repository at this point in the history
(cherry picked from commit b3bd69c)

Co-authored-by: Bruno Neyra <[email protected]>
  • Loading branch information
blv-brunoneyra authored and miss-islington committed Nov 9, 2022
1 parent 1565db7 commit 9de8094
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/howto/enum.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1310,7 +1310,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):
Expand Down

0 comments on commit 9de8094

Please sign in to comment.