Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ Vector3D
Class
Vector3D
example_code/item_063.py:187–190 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
185
186
print(
"Example 12"
)
187
class
Vector3D(RegisteredSerializable):
188
def
__init__(self, x, y, z):
189
super().__init__(x, y, z)
190
self.x, self.y, self.z = x, y, z
191
192
before = Vector3D(10, -7, 3)
193
print(
"Before: "
, before)
Callers
1
item_063.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected