Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ __init__
Method
__init__
example_code/item_053.py:62–63 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
60
print(
"Example 2"
)
61
class
TimesTwo:
62
def
__init__(self):
63
self.value *= 2
64
65
class
PlusFive:
66
def
__init__(self):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected