Skip to content

Commit 8953d06

Browse files
YoSTEALTHericvsmith
authored andcommitted
[3.6] bpo-39234: enum.auto() default initial value as 1 (GH-17878)
Updated as Eric mentioned "By default, the initial value starts at 1" https://bugs.python.org/issue39234 Automerge-Triggered-By: @ericvsmith. (cherry picked from commit 24bcefc) Co-authored-by: YoSTEALTH <[email protected]>
1 parent 4171b8e commit 8953d06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/enum.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ helper, :class:`auto`.
5555

5656
.. class:: auto
5757

58-
Instances are replaced with an appropriate value for Enum members.
58+
Instances are replaced with an appropriate value for Enum members. By default, the initial value starts at 1.
5959

6060
.. versionadded:: 3.6 ``Flag``, ``IntFlag``, ``auto``
6161

0 commit comments

Comments
 (0)