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

Class DataclassRGB

example_code/item_051.py:70–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68
69@dataclass
70class DataclassRGB:
71 red: int
72 green: int
73 blue: int
74
75
76print("Example 6")

Callers 1

item_051.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected