MCPcopy Index your code
hub / github.com/RustPython/RustPython / _wrap

Function _wrap

crates/vm/Lib/python_builtins/_frozen_importlib.py:40–45  ·  view source on GitHub ↗

Simple substitute for functools.update_wrapper.

(new, old)

Source from the content-addressed store, hash-verified

Callers 2

_requires_builtinFunction · 0.70
_requires_frozenFunction · 0.70

Calls 4

hasattrFunction · 0.85
setattrFunction · 0.85
getattrFunction · 0.85
updateMethod · 0.45

Tested by

no test coverage detected