MCPcopy Index your code
hub / github.com/dianping/cat / wraps

Function wraps

lib/python/src/cat/utils.py:37–39  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

35
36 @functools.wraps(func)
37 def wraps(*args, **kwargs):
38 with func.__lock:
39 return func(*args, **kwargs)
40 return wraps
41
42

Callers

nothing calls this directly

Calls 2

funcFunction · 0.50
formatMethod · 0.45

Tested by

no test coverage detected