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

Method __init__

example_code/item_058.py:117–118  ·  view source on GitHub ↗
(self, ohms)

Source from the content-addressed store, hash-verified

115print("Example 8")
116class BoundedResistance(Resistor):
117 def __init__(self, ohms):
118 super().__init__(ohms)
119
120 @property
121 def ohms(self):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected