MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / wraps

Function wraps

pager_lib/six.py:851–854  ·  view source on GitHub ↗
(wrapped, assigned=functools.WRAPPER_ASSIGNMENTS,
              updated=functools.WRAPPER_UPDATES)

Source from the content-addressed store, hash-verified

849 _update_wrapper.__doc__ = functools.update_wrapper.__doc__
850
851 def wraps(wrapped, assigned=functools.WRAPPER_ASSIGNMENTS,
852 updated=functools.WRAPPER_UPDATES):
853 return functools.partial(_update_wrapper, wrapped=wrapped,
854 assigned=assigned, updated=updated)
855 wraps.__doc__ = functools.wraps.__doc__
856
857else:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected