diff --git a/Doc/howto/enum.rst b/Doc/howto/enum.rst index bad5e508b01900..72e3ece5959b87 100644 --- a/Doc/howto/enum.rst +++ b/Doc/howto/enum.rst @@ -1310,7 +1310,7 @@ enumerations):: DuplicateFreeEnum ^^^^^^^^^^^^^^^^^ -Raises an error if a duplicate member name is found instead of creating an +Raises an error if a duplicate member value is found instead of creating an alias:: >>> class DuplicateFreeEnum(Enum):