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

Function wrapper

IPython/core/debugger.py:188–189  ·  view source on GitHub ↗
(*args, **kw)

Source from the content-addressed store, hash-verified

186 Adapted from from a comp.lang.python posting
187 by Duncan Booth."""
188 def wrapper(*args, **kw):
189 return new_fn(*args, **kw)
190 if old_fn.__doc__:
191 wrapper.__doc__ = strip_indentation(old_fn.__doc__) + additional_text
192 return wrapper

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected