Fix error in Enum documentation example code that was referring to the wrong enum. (GH-25837) (#25891)

(cherry picked from commit 33d9bf298b)

Co-authored-by: krisaoe <krisaoe@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2021-05-04 05:44:14 -07:00 committed by GitHub
parent 912ef3f248
commit 31debfa524
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -286,7 +286,7 @@ overridden::
... EAST = auto() ... EAST = auto()
... WEST = auto() ... WEST = auto()
... ...
>>> [member.value for member in Color] >>> [member.value for member in Ordinal]
['NORTH', 'SOUTH', 'EAST', 'WEST'] ['NORTH', 'SOUTH', 'EAST', 'WEST']
.. note:: .. note::