Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ __init__
Method
__init__
example_code/item_058.py:152–153 ·
view source on GitHub ↗
(self, ohms)
Source
from the content-addressed store, hash-verified
150
print(
"Example 11"
)
151
class
FixedResistance(Resistor):
152
def
__init__(self, ohms):
153
super().__init__(ohms)
154
155
@property
156
def
ohms(self):
Callers
nothing calls this directly
Calls
1
__init__
Method · 0.45
Tested by
no test coverage detected