Closed as not planned
Description
Using the example from the docs:
class Color(Enum):
RED = 1
GREEN = 2
BLUE = 3
Actual output (py 3.11):
>>> Color(0, 1)
TypeError: <enum 0> cannot extend <enum 'Color'>
Expected output- not 100% sure but, something along the lines of:
TypeError
saying "... takes 1 positional argument but 2 were given" likeColor()
does, orValueError
saying "... is not a valid Color" likeColor(0)
does
The current metaclass error message is a bit confusing.