mirror of
https://github.com/python/cpython.git
synced 2025-11-02 19:12:55 +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
|
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::
|
alias::
|
||||||
|
|
||||||
>>> class DuplicateFreeEnum(Enum):
|
>>> class DuplicateFreeEnum(Enum):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue