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

Class Vector1D

example_code/item_063.py:205–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203 register_class(cls)
204
205class Vector1D(BetterRegisteredSerializable):
206 def __init__(self, magnitude):
207 super().__init__(magnitude)
208 self.magnitude = magnitude
209
210
211print("Example 14")

Callers 1

item_063.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected