mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Fix error in Enum documentation example code that was referring to the wrong enum. (#25837)
This commit is contained in:
parent
2f5baa1750
commit
33d9bf298b
1 changed files with 1 additions and 1 deletions
|
@ -286,7 +286,7 @@ overridden::
|
|||
... EAST = auto()
|
||||
... WEST = auto()
|
||||
...
|
||||
>>> [member.value for member in Color]
|
||||
>>> [member.value for member in Ordinal]
|
||||
['NORTH', 'SOUTH', 'EAST', 'WEST']
|
||||
|
||||
.. note::
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue