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

Function wrapper

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

Source from the content-addressed store, hash-verified

39 return func
40
41 def wrapper(*args,**kw):
42 wrapper.called = False
43 out = func(*args,**kw)
44 wrapper.called = True
45 return out
46
47 wrapper.called = False
48 wrapper.__doc__ = func.__doc__

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected