MCPcopy Create free account
hub / github.com/ipython/ipython / wrapped

Function wrapped

IPython/core/ultratb.py:310–319  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

308 """
309
310 def wrapped(*args, **kwargs):
311 save_findsource = inspect.findsource
312 save_getargs = inspect.getargs
313 inspect.findsource = findsource
314 inspect.getargs = getargs
315 try:
316 return f(*args, **kwargs)
317 finally:
318 inspect.findsource = save_findsource
319 inspect.getargs = save_getargs
320
321 return wrapped
322

Callers

nothing calls this directly

Calls 1

fFunction · 0.50

Tested by

no test coverage detected