Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dabeaz/python-cookbook
/ bar
Method
bar
src/9/defining_decorators_as_classes/example2.py:22–23 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
20
class
Spam:
21
@profiled
22
def
bar(self, x):
23
print(self, x)
24
25
if
__name__ ==
'__main__'
:
26
print(add(2,3))
Callers
1
example2.py
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected