diff options
author | krisaoe <krisaoe@users.noreply.github.com> | 2021-05-04 12:34:14 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-04 12:34:14 (GMT) |
commit | 33d9bf298b7672c5a09f8c0d80af00a4ec383e4a (patch) | |
tree | 8226966443eab5855810dcd177cd3ae36d43d863 /Doc | |
parent | 2f5baa17504feb9a7613bac32fdceed4894434de (diff) | |
download | cpython-33d9bf298b7672c5a09f8c0d80af00a4ec383e4a.zip cpython-33d9bf298b7672c5a09f8c0d80af00a4ec383e4a.tar.gz cpython-33d9bf298b7672c5a09f8c0d80af00a4ec383e4a.tar.bz2 |
Fix error in Enum documentation example code that was referring to the wrong enum. (#25837)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/howto/enum.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/howto/enum.rst b/Doc/howto/enum.rst index 9ece93e..b0eea55 100644 --- a/Doc/howto/enum.rst +++ b/Doc/howto/enum.rst @@ -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:: |