MCPcopy Index your code
hub / github.com/python/cpython / make_decorator

Method make_decorator

Lib/test/test_decorators.py:249–254  ·  view source on GitHub ↗
(tag)

Source from the content-addressed store, hash-verified

247 actions = []
248
249 def make_decorator(tag):
250 actions.append('makedec' + tag)
251 def decorate(func):
252 actions.append('calldec' + tag)
253 return func
254 return decorate
255
256 class NameLookupTracer (object):
257 def __init__(self, index):

Callers 1

test_eval_orderMethod · 0.80

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected