MCPcopy Create free account
hub / github.com/bslatkin/effectivepython / DataclassPlanet

Class DataclassPlanet

example_code/item_051.py:478–480  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

476print("Example 44")
477@dataclass(order=True)
478class DataclassPlanet:
479 distance: float
480 size: float
481
482
483print("Example 45")

Callers 1

item_051.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected