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

Method __init__

example_code/item_063.py:136–139  ·  view source on GitHub ↗
(self, x, y)

Source from the content-addressed store, hash-verified

134print("Example 7")
135class EvenBetterPoint2D(BetterSerializable):
136 def __init__(self, x, y):
137 super().__init__(x, y)
138 self.x = x
139 self.y = y
140
141register_class(EvenBetterPoint2D)
142

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected