-
-
Notifications
You must be signed in to change notification settings - Fork 33.1k
Closed
Labels
Description
Documentation
There is an indentation error in enum.rst (the second line of the description for "SECOND").
* ``FIRST = auto()`` will work (auto() is replaced with ``1``);
* ``SECOND = auto(), -2`` will work (auto is replaced with ``2``, so ``2, -2`` is
used to create the ``SECOND`` enum member;
* ``THREE = [auto(), -3]`` will *not* work (``<auto instance>, -3`` is used to
create the ``THREE`` enum member)
https://github.com/python/cpython/blob/v3.13.0a3/Doc/library/enum.rst?plain=1#L839-L843
In reStructuredText, the space after a line break within a list item should be two spaces.
* This is a bulleted list.
* It has two items, the second
item uses two lines.
https://devguide.python.org/documentation/markup/#lists-and-quotes