Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dabeaz/python-cookbook
/ add
Function
add
src/9/unwrapping_a_decorator/example.py:21–22 ·
view source on GitHub ↗
(x, y)
Source
from the content-addressed store, hash-verified
19
@decorator1
20
@decorator2
21
def
add(x, y):
22
return
x + y
23
24
# Calling wrapped function
25
print(add(2,3))
Callers
1
example.py
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected