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

Function mark

IPython/core/magic.py:198–200  ·  view source on GitHub ↗
(func, *a, **kw)

Source from the content-addressed store, hash-verified

196 # Decorator called with arguments (@foo('bar'))
197 name = arg
198 def mark(func, *a, **kw):
199 record_magic(magics, magic_kind, name, func.__name__)
200 return decorator(call, func)
201 retval = mark
202 else:
203 raise TypeError("Decorator can only be called with "

Callers

nothing calls this directly

Calls 2

record_magicFunction · 0.85

Tested by

no test coverage detected