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

Class Point3D

example_code/item_063.py:154–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152
153print("Example 9")
154class 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 1

item_063.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected