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

Method __init__

example_code/item_056.py:52–55  ·  view source on GitHub ↗
(self, name, x, y)

Source from the content-addressed store, hash-verified

50print("Example 1")
51class Point:
52 def __init__(self, name, x, y):
53 self.name = name
54 self.x = x
55 self.y = y
56
57
58print("Example 2")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected