mirror of https://github.com/python/cpython
Fix error in Enum documentation example code that was referring to the wrong enum. (#25837)
This commit is contained in:
parent
2f5baa1750
commit
33d9bf298b
|
@ -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…
Reference in New Issue