From: YoSTEALTH <35307184+YoSTEALTH@users.noreply.github.com> Date: Mon, 6 Jan 2020 22:04:43 +0000 (-0600) Subject: bpo-39234: `enum.auto()` default initial value as 1 (GH-17878) X-Git-Tag: v3.9.0a3~130 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=24bcefcb74231476b055bb6f0726642abeb10f04;p=thirdparty%2FPython%2Fcpython.git 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 --- diff --git a/Doc/library/enum.rst b/Doc/library/enum.rst index cfe3c207e1ee..eaf29cfde234 100644 --- a/Doc/library/enum.rst +++ b/Doc/library/enum.rst @@ -55,7 +55,7 @@ helper, :class:`auto`. .. class:: auto - Instances are replaced with an appropriate value for Enum members. Initial value starts at 1. + Instances are replaced with an appropriate value for Enum members. By default, the initial value starts at 1. .. versionadded:: 3.6 ``Flag``, ``IntFlag``, ``auto``