Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ __init__
Method
__init__
example_code/item_053.py:98–100 ·
view source on GitHub ↗
(self, value)
Source
from the content-addressed store, hash-verified
96
print(
"Example 7"
)
97
class
TimesSeven(MyBaseClass):
98
def
__init__(self, value):
99
MyBaseClass.__init__(self, value)
100
self.value *= 7
101
102
class
PlusNine(MyBaseClass):
103
def
__init__(self, value):
Callers
nothing calls this directly
Calls
1
__init__
Method · 0.45
Tested by
no test coverage detected