[Python-checkins] [Enum] fix typos (GH-96285)

miss-islington webhook-mailer at python.org
Tue Sep 20 19:56:15 EDT 2022


https://github.com/python/cpython/commit/a670c65f14c07a0f2f0b3e4aab41aee007c3b7ff
commit: a670c65f14c07a0f2f0b3e4aab41aee007c3b7ff
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-09-20T16:55:52-07:00
summary:

[Enum] fix typos (GH-96285)

(cherry picked from commit 58882640d631b0be0d81156928de97c2b3556f45)

Co-authored-by: wim glenn <wim.glenn at gmail.com>

files:
M Lib/enum.py

diff --git a/Lib/enum.py b/Lib/enum.py
index 28b638c28f1..dffb673f44f 100644
--- a/Lib/enum.py
+++ b/Lib/enum.py
@@ -22,14 +22,14 @@
 
 class nonmember(object):
     """
-    Protects item from becaming an Enum member during class creation.
+    Protects item from becoming an Enum member during class creation.
     """
     def __init__(self, value):
         self.value = value
 
 class member(object):
     """
-    Forces item to became an Enum member during class creation.
+    Forces item to become an Enum member during class creation.
     """
     def __init__(self, value):
         self.value = value



More information about the Python-checkins mailing list