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

Class Spam

src/9/defining_decorators_as_classes/example1.py:26–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24 return x + y
25
26class Spam:
27 @Profiled
28 def bar(self, x):
29 print(self, x)
30
31if __name__ == '__main__':
32 print(add(2,3))

Callers 1

example1.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected