From 33d9bf298b7672c5a09f8c0d80af00a4ec383e4a Mon Sep 17 00:00:00 2001 From: krisaoe Date: Tue, 4 May 2021 22:34:14 +1000 Subject: [PATCH] Fix error in Enum documentation example code that was referring to the wrong enum. (#25837) --- Doc/howto/enum.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/howto/enum.rst b/Doc/howto/enum.rst index 9ece93e6605..b0eea5560af 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::