Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ __init__
Method
__init__
example_code/item_053.py:124–126 ·
view source on GitHub ↗
(self, value)
Source
from the content-addressed store, hash-verified
122
123
class
TimesSevenCorrect(MyBaseClass):
124
def
__init__(self, value):
125
super().__init__(value)
126
self.value *= 7
127
128
class
PlusNineCorrect(MyBaseClass):
129
def
__init__(self, value):
Callers
nothing calls this directly
Calls
1
__init__
Method · 0.45
Tested by
no test coverage detected