Skip to content

Commit c14db20

Browse files
gh-128080: remove unnecessary __init__ method from Enum (GH-128081)
remove unnecessary __init__ method from Enum Co-authored-by: Peter Bierma <[email protected]>
1 parent 255762c commit c14db20

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Lib/enum.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1211,9 +1211,6 @@ def __new__(cls, value):
12111211
exc = None
12121212
ve_exc = None
12131213

1214-
def __init__(self, *args, **kwds):
1215-
pass
1216-
12171214
def _add_alias_(self, name):
12181215
self.__class__._add_member_(name, self)
12191216

0 commit comments

Comments
 (0)