MCPcopy
hub / github.com/django/django / wrapper

Function wrapper

tests/syndication_tests/feeds.py:12–14  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

10def wraps_decorator(f):
11 @wraps(f)
12 def wrapper(*args, **kwargs):
13 value = f(*args, **kwargs)
14 return f"{value} -- decorated by @wraps."
15
16 return wrapper
17

Callers

nothing calls this directly

Calls 1

fFunction · 0.85

Tested by

no test coverage detected