From: YoSTEALTH <35307184+YoSTEALTH@users.noreply.github.com> Date: Mon, 6 Jan 2020 19:53:36 +0000 (-0600) Subject: bpo-39234: Doc: `enum.auto()` incrementation value not specified. (GH-17872) X-Git-Tag: v3.9.0a3~132 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2e9012a3e1e316c54e27f51ba5849ba06eab7da2;p=thirdparty%2FPython%2Fcpython.git bpo-39234: Doc: `enum.auto()` incrementation value not specified. (GH-17872) * `enum.auto()` initial value is now specified as being `1`. --- diff --git a/Doc/library/enum.rst b/Doc/library/enum.rst index 1d6912aaf19a..cfe3c207e1ee 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. + Instances are replaced with an appropriate value for Enum members. Initial value starts at 1. .. versionadded:: 3.6 ``Flag``, ``IntFlag``, ``auto``