Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ DataclassImmutablePoint
Class
DataclassImmutablePoint
example_code/item_056.py:118–121 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
116
117
@dataclass(frozen=True)
118
class
DataclassImmutablePoint:
119
name: str
120
x: float
121
y: float
122
123
124
print(
"Example 9"
)
Callers
1
item_056.py
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected