Skip to content

Commit

Permalink
[Enum] fix typos (GH-96285)
Browse files Browse the repository at this point in the history
(cherry picked from commit 5888264)

Co-authored-by: wim glenn <[email protected]>
  • Loading branch information
miss-islington and wimglenn authored Sep 20, 2022
1 parent fd118a0 commit a670c65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Lib/enum.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a670c65

Please sign in to comment.