mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
[Enum] Typo: fix DuplicateFreeEnum example docs (GH-99265)
This commit is contained in:
parent
2eee9d9cd7
commit
b3bd69c1bf
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue