Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ __init__
Method
__init__
example_code/item_063.py:155–159 ·
view source on GitHub ↗
(self, x, y, z)
Source
from the content-addressed store, hash-verified
153
print(
"Example 9"
)
154
class
Point3D(BetterSerializable):
155
def
__init__(self, x, y, z):
156
super().__init__(x, y, z)
157
self.x = x
158
self.y = y
159
self.z = z
160
161
# Forgot to call register_class! Whoops!
162
Callers
nothing calls this directly
Calls
1
__init__
Method · 0.45
Tested by
no test coverage detected