[Python-checkins] bpo-39234: Doc: `enum.auto()` incrementation value not specified. (GH-17872) (GH-17876)

Ned Deily webhook-mailer at python.org
Sat Jan 25 14:41:30 EST 2020


https://github.com/python/cpython/commit/b0a6ec256b460f071e33b4633e5bec450d8e6394
commit: b0a6ec256b460f071e33b4633e5bec450d8e6394
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: Ned Deily <nad at python.org>
date: 2020-01-25T14:41:25-05:00
summary:

bpo-39234: Doc: `enum.auto()` incrementation value not specified. (GH-17872) (GH-17876)

(cherry picked from commit 2e9012a3e1e316c54e27f51ba5849ba06eab7da2)

Co-authored-by: YoSTEALTH <35307184+YoSTEALTH at users.noreply.github.com>

files:
M Doc/library/enum.rst

diff --git a/Doc/library/enum.rst b/Doc/library/enum.rst
index a6285ffaf1911..38221199dcdb7 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``
 



More information about the Python-checkins mailing list