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

ethanfurman webhook-mailer at python.org
Tue Sep 20 19:31:14 EDT 2022


https://github.com/python/cpython/commit/58882640d631b0be0d81156928de97c2b3556f45
commit: 58882640d631b0be0d81156928de97c2b3556f45
branch: main
author: wim glenn <wim.glenn at gmail.com>
committer: ethanfurman <ethan at stoneleaf.us>
date: 2022-09-20T16:31:05-07:00
summary:

[Enum] fix typos (GH-96285)

files:
M Lib/enum.py

diff --git a/Lib/enum.py b/Lib/enum.py
index e7375e1eae6..c3aafc28371 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