Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dabeaz/python-cookbook
/ add
Function
add
src/9/defining_decorators_as_classes/example2.py:17–18 ·
view source on GitHub ↗
(x, y)
Source
from the content-addressed store, hash-verified
15
16
@profiled
17
def
add(x, y):
18
return
x + y
19
20
class
Spam:
21
@profiled
Callers
1
example2.py
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected