MCPcopy Index your code
hub / github.com/RustPython/RustPython / CreatureDataMixin

Class CreatureDataMixin

Lib/test/test_enum.py:3193–3197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3191 #
3192 @dataclass
3193 class CreatureDataMixin:
3194 __qualname__ = 'CreatureDataMixin'
3195 size: str
3196 legs: int
3197 tail: bool = field(repr=False, default=True)
3198 class Creature(CreatureDataMixin, Enum):
3199 __qualname__ = 'Creature'
3200 BEETLE = ('small', 6)

Callers

nothing calls this directly

Calls 1

fieldFunction · 0.90

Tested by

no test coverage detected