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

bundles / IPython 9.3.0 / IPython / core / alias / AliasManager / define_alias

function

IPython.core.alias:AliasManager.define_alias

source: /IPython/core/alias.py :233

Signature

def   define_alias ( self name cmd )

Summary

Define a new alias after validating it.

Extended Summary

This will raise an AliasError if there are validation problems.

Aliases

  • IPython.core.alias.AliasManager.define_alias