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

Method __init__

example_code/item_053.py:62–63  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

60print("Example 2")
61class TimesTwo:
62 def __init__(self):
63 self.value *= 2
64
65class PlusFive:
66 def __init__(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected