diff options
author | YoSTEALTH <35307184+YoSTEALTH@users.noreply.github.com> | 2020-01-06 19:53:36 (GMT) |
---|---|---|
committer | Ethan Furman <ethan@stoneleaf.us> | 2020-01-06 19:53:36 (GMT) |
commit | 2e9012a3e1e316c54e27f51ba5849ba06eab7da2 (patch) | |
tree | 36f0e15302c6e90aa02284215edc12df3d477e86 | |
parent | 7b79dc9200a19ecbac667111dffd58e314be02a8 (diff) | |
download | cpython-2e9012a3e1e316c54e27f51ba5849ba06eab7da2.zip cpython-2e9012a3e1e316c54e27f51ba5849ba06eab7da2.tar.gz cpython-2e9012a3e1e316c54e27f51ba5849ba06eab7da2.tar.bz2 |
bpo-39234: Doc: `enum.auto()` incrementation value not specified. (GH-17872)
* `enum.auto()` initial value is now specified as being `1`.
-rw-r--r-- | Doc/library/enum.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/enum.rst b/Doc/library/enum.rst index 1d6912a..cfe3c20 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`` |