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/example3.py:30–31 ·
view source on GitHub ↗
(x, y)
Source
from the content-addressed store, hash-verified
28
29
@profiled
30
def
add(x, y):
31
return
x + y
32
33
class
Spam:
34
@profiled
Callers
1
example3.py
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected