mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue