From c14db202750ff9eaf3919298f1172270b7dfd64e Mon Sep 17 00:00:00 2001 From: Stephen Morton Date: Thu, 19 Dec 2024 14:07:17 -0800 Subject: gh-128080: remove unnecessary `__init__` method from Enum (GH-128081) remove unnecessary __init__ method from Enum Co-authored-by: Peter Bierma --- Lib/enum.py | 3 --- 1 file changed, 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) -- cgit v0.12