MCPcopy Index your code
hub / github.com/ipython/ipython / wrapper

Function wrapper

IPython/utils/decorators.py:49–53  ·  view source on GitHub ↗
(*args: Any, **kw: Any)

Source from the content-addressed store, hash-verified

47 return func
48
49 def wrapper(*args: Any, **kw: Any) -> Any:
50 wrapper.called = False # type: ignore[attr-defined]
51 out = func(*args, **kw)
52 wrapper.called = True # type: ignore[attr-defined]
53 return out
54
55 wrapper.called = False # type: ignore[attr-defined]
56 wrapper.__doc__ = func.__doc__

Callers

nothing calls this directly

Calls 1

funcFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…