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 / validate_type

function

IPython.core.magic:validate_type

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

Signature

def   validate_type ( magic_kind )

Summary

Ensure that the given magic_kind is valid.

Extended Summary

Check that the given magic_kind is one of the accepted spec types (stored in the global magic_spec), raise ValueError otherwise.

Aliases

  • IPython.core.magic.validate_type