[Enum] fix typos (GH-96285)

(cherry picked from commit 58882640d6)

Co-authored-by: wim glenn <wim.glenn@gmail.com>
This commit is contained in:
Miss Islington (bot) 2022-09-20 16:55:52 -07:00 committed by GitHub
parent fd118a0850
commit a670c65f14
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,14 +22,14 @@ Enum = Flag = EJECT = _stdlib_enums = ReprEnum = None
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