[Python-checkins] Doc: Fix spelling errors of 'initial' in enum.py (GH-16314)

Miss Islington (bot) webhook-mailer at python.org
Sat Sep 21 01:40:46 EDT 2019


https://github.com/python/cpython/commit/8d4c52ffb47a4d3590758220f297ba58108e1ef3
commit: 8d4c52ffb47a4d3590758220f297ba58108e1ef3
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019-09-20T22:40:42-07:00
summary:

Doc: Fix spelling errors of 'initial' in enum.py (GH-16314)

(cherry picked from commit bb16fb2cb8dca1fa1d67621c3175793eda7dbdc2)

Co-authored-by: HongWeipeng <hongweichen8888 at sina.com>

files:
M Lib/enum.py

diff --git a/Lib/enum.py b/Lib/enum.py
index 5e97a9e8d810..d0b03b4aa56c 100644
--- a/Lib/enum.py
+++ b/Lib/enum.py
@@ -682,7 +682,7 @@ def _generate_next_value_(name, start, count, last_values):
         Generate the next value when not given.
 
         name: the name of the member
-        start: the initital start value or None
+        start: the initial start value or None
         count: the number of existing members
         last_value: the last value assigned or None
         """



More information about the Python-checkins mailing list