Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
115
print(
"Example 8"
)
116
class
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