mirror of
https://github.com/python/cpython.git
synced 2025-09-02 15:07:53 +00:00
[Enum] fix typos (GH-96285)
(cherry picked from commit 58882640d6
)
Co-authored-by: wim glenn <wim.glenn@gmail.com>
This commit is contained in:
parent
fd118a0850
commit
a670c65f14
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue