summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorStephen Morton <git@tungol.org>2024-12-19 22:07:17 (GMT)
committerGitHub <noreply@github.com>2024-12-19 22:07:17 (GMT)
commitc14db202750ff9eaf3919298f1172270b7dfd64e (patch)
tree0e893b5d59ad8eb633a8fc5d8e26ea19eaf6dee9 /Lib
parent255762c09fe518757bb3e8ce1bb6e5d8eec9f466 (diff)
downloadcpython-c14db202750ff9eaf3919298f1172270b7dfd64e.zip
cpython-c14db202750ff9eaf3919298f1172270b7dfd64e.tar.gz
cpython-c14db202750ff9eaf3919298f1172270b7dfd64e.tar.bz2
gh-128080: remove unnecessary `__init__` method from Enum (GH-128081)
remove unnecessary __init__ method from Enum Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Diffstat (limited to 'Lib')
-rw-r--r--Lib/enum.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/enum.py b/Lib/enum.py
index 27be3fb..ccc1da4 100644
--- a/Lib/enum.py
+++ b/Lib/enum.py
@@ -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)