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/example1.py:23–24 ·
view source on GitHub ↗
(x, y)
Source
from the content-addressed store, hash-verified
21
22
@Profiled
23
def
add(x, y):
24
return
x + y
25
26
class
Spam:
27
@Profiled
Callers
1
example1.py
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected