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

Method __init__

example_code/item_053.py:85–88  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

83print("Example 5")
84class AnotherWay(MyBaseClass, PlusFive, TimesTwo):
85 def __init__(self, value):
86 MyBaseClass.__init__(self, value)
87 TimesTwo.__init__(self)
88 PlusFive.__init__(self)
89
90
91print("Example 6")

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected