bundles / IPython 9.5.0 / IPython / core / magic / record_magic
function
IPython.core.magic:record_magic
source: /IPython/core/magic.py :113
Signature
def record_magic ( dct , magic_kind , magic_name , func ) Summary
Utility function to store a function as a magic of a specific kind.
Parameters
dct: dictA dictionary with 'line' and 'cell' subdicts.
magic_kind: strKind of magic to be stored.
magic_name: strKey to store the magic as.
func: functionCallable object to store.
Aliases
-
IPython.core.magic.record_magic