Home | History | Annotate | Download | only in python2.7

Lines Matching refs:wrapped

18                    wrapped,
21 """Update a wrapper function to look like the wrapped function
24 wrapped is the original function
26 from the wrapped function to the wrapper function (defaults to
29 are updated with the corresponding attribute from the wrapped
33 setattr(wrapper, attr, getattr(wrapped, attr))
35 getattr(wrapper, attr).update(getattr(wrapped, attr, {}))
39 def wraps(wrapped,
50 return partial(update_wrapper, wrapped=wrapped,