Skip to content

Commit 317d1b5

Browse files
committed
fix ReST formatting
1 parent 9fa73cb commit 317d1b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/enum.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -786,8 +786,8 @@ Utilities and Decorators
786786
* ``FIRST = auto()`` will work (auto() is replaced with ``1``);
787787
* ``SECOND = auto(), -2`` will work (auto is replaced with ``2``, so ``2, -2`` is
788788
used to create the ``SECOND`` enum member;
789-
* ``THREE`` = [auto(), -3]`` will *not* work (``auto, -3`` is used to create the
790-
``THREE`` enum member)
789+
* ``THREE = [auto(), -3]`` will *not* work (``<auto instance>, -3`` is used to
790+
create the ``THREE`` enum member)
791791

792792
``_generate_next_value_`` can be overridden to customize the values used by
793793
*auto*.

0 commit comments

Comments
 (0)