Skip to content

Commit 24bcefc

Browse files
YoSTEALTHmiss-islington
authored andcommitted
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
1 parent b1ce22d commit 24bcefc

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. Initial value starts at 1.
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)