-
-
Notifications
You must be signed in to change notification settings - Fork 33.5k
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)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