diff --git a/Doc/library/enum.rst b/Doc/library/enum.rst index ddcc2864e6f..5cd6472f3e2 100644 --- a/Doc/library/enum.rst +++ b/Doc/library/enum.rst @@ -773,7 +773,7 @@ the (unimportant) value:: Using :class:`auto` """"""""""""""""""" -Using :class:`object` would look like:: +Using :class:`auto` would look like:: >>> class Color(NoValue): ... RED = auto()