You are viewing an older version (9.10.0). Go to latest (9.13.0)
{ } Raw JSON

bundles / IPython 9.10.0 / IPython / core / magic / MagicAlias

class

IPython.core.magic:MagicAlias

source: /IPython/core/magic.py :745

Signature

class   MagicAlias ( shell magic_name magic_kind magic_params = None )

Members

Summary

An alias to another magic function.

Extended Summary

An alias is determined by its magic name and magic kind. Lookup is done at call time, so if the underlying magic changes the alias will call the new function.

Use the MagicsManager.register_alias method or the %alias_magic magic function to create and register a new alias.

Aliases

  • IPython.core.magic.MagicAlias