Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions Lib/enum.py
Original file line number Diff line number Diff line change
Expand Up @@ -987,8 +987,6 @@ def _find_data_type_(mcls, class_name, bases):
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:
Expand Down