bpo-44356: [Enum] allow multiple data-type mixins if they are all the same (GH-26649)
This enables, for example, two base Enums to both inherit from `str`, and then both be mixed into the same final Enum:
class Str1Enum(str, Enum):
# some behavior here
class Str2Enum(str, Enum):
# some more behavior here
class FinalStrEnum(Str1Enum, Str2Enum):
# this now works E
Ethan Furman committed
8a4f0850d75747af8c96ca0e7eef1f5c1abfba25
Parent: 42d5a4f
Committed by GitHub <noreply@github.com>
on 6/10/2021, 8:30:41 PM