mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
gh-128080: remove unnecessary __init__
method from Enum (GH-128081)
remove unnecessary __init__ method from Enum Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
This commit is contained in:
parent
255762c09f
commit
c14db20275
1 changed files with 0 additions and 3 deletions
|
@ -1211,9 +1211,6 @@ class Enum(metaclass=EnumType):
|
|||
exc = None
|
||||
ve_exc = None
|
||||
|
||||
def __init__(self, *args, **kwds):
|
||||
pass
|
||||
|
||||
def _add_alias_(self, name):
|
||||
self.__class__._add_member_(name, self)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue