MCPcopy Create free account
hub / github.com/ActiveState/code / inner

Function inner

recipes/Python/577819_Deprecated_decorator/recipe-577819.py:49–51  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

47
48 @functools.wraps(fun)
49 def inner(*args, **kwargs):
50 warnings.warn(msg, category=DeprecationWarning, stacklevel=2)
51 return fun(*args, **kwargs)
52
53 return inner
54 return outer

Callers

nothing calls this directly

Calls 1

funFunction · 0.50

Tested by

no test coverage detected