MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / update_wrapper

Function update_wrapper

Lib/functools.py:17–37  ·  view source on GitHub ↗

Update a wrapper function to look like the wrapped function wrapper is the function to be updated wrapped is the original function assigned is a tuple naming the attributes assigned directly from the wrapped function to the wrapper function (defaults to functools.

(wrapper,
                   wrapped,
                   assigned = WRAPPER_ASSIGNMENTS,
                   updated = WRAPPER_UPDATES)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

getattrFunction · 0.85
updateMethod · 0.45

Tested by

no test coverage detected