-
-
Notifications
You must be signed in to change notification settings - Fork 34.2k
Closed
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory
Description
This statement is redundant:
Lines 996 to 997 in 8236222
| if isinstance(base, EnumType): | |
| continue |
in
Lines 990 to 997 in 8236222
| continue | |
| elif isinstance(base, EnumType): | |
| if base._member_type_ is not object: | |
| data_types.add(base._member_type_) | |
| break | |
| elif '__new__' in base.__dict__ or '__init__' in base.__dict__: | |
| if isinstance(base, EnumType): | |
| continue |
Linked PRs
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory