Lines Matching refs:wrapped
36 wrapped,
39 """Update a wrapper function to look like the wrapped function
42 wrapped is the original function
44 from the wrapped function to the wrapper function (defaults to
47 are updated with the corresponding attribute from the wrapped
52 value = getattr(wrapped, attr)
58 getattr(wrapper, attr).update(getattr(wrapped, attr, {}))
60 # from the wrapped function when updating __dict__
61 wrapper.__wrapped__ = wrapped
65 def wraps(wrapped,
76 return partial(update_wrapper, wrapped=wrapped,
619 # which could potentially be wrapped in an lru_cache itself.