MCPcopy 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
21def add(x, y):
22 return x + y
23
24# Calling wrapped function
25print(add(2,3))

Callers 1

example.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected