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

Method _inner

Lib/unittest/mock.py:1895–1900  ·  view source on GitHub ↗
(*args, **kw)

Source from the content-addressed store, hash-verified

1893 def decorate_callable(self, f):
1894 @wraps(f)
1895 def _inner(*args, **kw):
1896 self._patch_dict()
1897 try:
1898 return f(*args, **kw)
1899 finally:
1900 self._unpatch_dict()
1901
1902 return _inner
1903

Callers

nothing calls this directly

Calls 3

_patch_dictMethod · 0.95
_unpatch_dictMethod · 0.95
fFunction · 0.50

Tested by

no test coverage detected