MCPcopy 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
17def add(x, y):
18 return x + y
19
20class Spam:
21 @profiled

Callers 1

example2.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected