mirror of
https://github.com/python/cpython.git
synced 2026-02-16 12:21:23 +00:00
[Enum] Typo: fix DuplicateFreeEnum example docs (GH-99265)
(cherry picked from commit b3bd69c1bf)
Co-authored-by: Bruno Neyra <112962296+blv-brunoneyra@users.noreply.github.com>
This commit is contained in:
parent
1565db7020
commit
cf5dbb47a2
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue