summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYoSTEALTH <35307184+YoSTEALTH@users.noreply.github.com>2020-01-06 22:04:43 (GMT)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-01-06 22:04:43 (GMT)
commit24bcefcb74231476b055bb6f0726642abeb10f04 (patch)
treeb08fb0928e93f7535ac2289d6f0bdf7232797c99
parentb1ce22d086660d2505010694c8813cc67adf8f9e (diff)
downloadcpython-24bcefcb74231476b055bb6f0726642abeb10f04.zip
cpython-24bcefcb74231476b055bb6f0726642abeb10f04.tar.gz
cpython-24bcefcb74231476b055bb6f0726642abeb10f04.tar.bz2
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
-rw-r--r--Doc/library/enum.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/enum.rst b/Doc/library/enum.rst
index cfe3c20..eaf29cf 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``