Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ f
Function
f
recipes/Python/223613_Install_bound_methods/recipe-223613.py:63–64 ·
view source on GitHub ↗
(self, x, y)
Source
from the content-addressed store, hash-verified
61
# AttributeError: Widget().foo()
62
63
def
f(self, x, y):
64
self.z = x + y
65
Widget.add = renamefunction(f,
"add"
)
66
a.add(2, 4)
67
print a.z
Callers
3
search
Function · 0.50
recipe-265894.py
File · 0.50
throws
Function · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected