Closed
Description
This is currently allowed but fails at runtime:
from enum import Enum
class Other(Enum):
test = 1
Other.test = 2
but it fails at runtime.
This is a follow-up for #5522
This is currently allowed but fails at runtime:
from enum import Enum
class Other(Enum):
test = 1
Other.test = 2
but it fails at runtime.
This is a follow-up for #5522