summaryrefslogtreecommitdiffstats
path: root/Lib/enum.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/enum.py')
-rw-r--r--Lib/enum.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/enum.py b/Lib/enum.py
index 4e231e7..b8ea7af 100644
--- a/Lib/enum.py
+++ b/Lib/enum.py
@@ -987,8 +987,6 @@ class EnumType(type):
data_types.add(base._member_type_)
break
elif '__new__' in base.__dict__ or '__init__' in base.__dict__:
- if isinstance(base, EnumType):
- continue
data_types.add(candidate or base)
break
else: