Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ __init__
Method
__init__
example_code/item_049.py:56–58 ·
view source on GitHub ↗
(self, left, right)
Source
from the content-addressed store, hash-verified
54
55
class
Add:
56
def
__init__(self, left, right):
57
self.left = left
58
self.right = right
59
60
class
Multiply:
61
def
__init__(self, left, right):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected