bpo-39234: Doc: `enum.auto()` incrementation value not specified. (GH-17872)
* `enum.auto()` initial value is now specified as being `1`.
This commit is contained in:
parent
7b79dc9200
commit
2e9012a3e1
|
@ -55,7 +55,7 @@ helper, :class:`auto`.
|
|||
|
||||
.. class:: auto
|
||||
|
||||
Instances are replaced with an appropriate value for Enum members.
|
||||
Instances are replaced with an appropriate value for Enum members. Initial value starts at 1.
|
||||
|
||||
.. versionadded:: 3.6 ``Flag``, ``IntFlag``, ``auto``
|
||||
|
||||
|
|
Loading…
Reference in New Issue