This documentation is for an old version of IPython. You can find docs for newer versions here.

Module: core.magics

Implementation of all the magic functions built into IPython.

1 Class

class IPython.core.magics.UserMagics(shell=None, **kwargs)

Bases: IPython.core.magic.Magics

Placeholder for user-defined magics to be added at runtime.

All magics are eventually merged into a single namespace at runtime, but we use this class to isolate the magics defined dynamically by the user into their own class.