### Navigation

- index
- modules |
- next |
- previous |
- IPython v0.10.1 documentation »
- The IPython API »

# kernel.core.magic

## Module: `kernel.core.magic`

Inheritance diagram for `IPython.kernel.core.magic`:

## `Magic`

class `IPython.kernel.core.magic.``Magic`(interpreter, config=None)

  Bases: `object`

  An object that maintains magic functions.

  `__init__`()
  `has_magic`()

    Return True if this object provides a given magic.

    Parameters : | name : str

  `magic_env`()

    List environment variables.

  `magic_pwd`()

    Return the current working directory path.

  `object_find`()

    Find an object in the available namespaces.

    fixme: this should probably be moved elsewhere. The interpreter?

### Navigation

- index
- modules |
- next |
- previous |
- IPython v0.10.1 documentation »
- The IPython API »