mirror of https://github.com/python/cpython
gh-114231: Fix indentation in enum.rst (#114232)
This commit is contained in:
parent
6f4b242a03
commit
ba683c22ec
|
@ -838,7 +838,7 @@ Utilities and Decorators
|
|||
|
||||
* ``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;
|
||||
used to create the ``SECOND`` enum member;
|
||||
* ``THREE = [auto(), -3]`` will *not* work (``<auto instance>, -3`` is used to
|
||||
create the ``THREE`` enum member)
|
||||
|
||||
|
|
Loading…
Reference in New Issue