MCPcopy Create free account
hub / github.com/dabeaz/python-cookbook / Spam

Class Spam

src/9/defining_decorators_as_classes/example3.py:33–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31 return x + y
32
33class Spam:
34 @profiled
35 def bar(self, x):
36 print(self, x)
37
38@timethis
39@profiled

Callers 1

example3.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected