kernel.core.traceback_formatter — IPython 0.10.2 documentation

### Navigation

- index
- modules |
- next |
- previous |
- IPython 0.10.2 documentation »
- The IPython API »

# kernel.core.traceback_formatter

## Module: `kernel.core.traceback_formatter`

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

Some formatter objects to extract traceback information by replacing sys.excepthook().

## Classes

### `ITracebackFormatter`

class `IPython.kernel.core.traceback_formatter.` `ITracebackFormatter`

  Bases: `object`

  Objects conforming to this interface will format tracebacks into other objects.

  `__init__`()

    x.__init__(...) initializes x; see x.__class__.__doc__ for signature

  `identifier` = None
  `kind` = 'traceback'

### `PlainTracebackFormatter`

class `IPython.kernel.core.traceback_formatter.` `PlainTracebackFormatter`(limit=None)

  Bases: `IPython.kernel.core.traceback_formatter.ITracebackFormatter`

  Return a string with the regular traceback information.

  `__init__`()
  `identifier` = 'plain'

### Navigation

- index
- modules |
- next |
- previous |
- IPython 0.10.2 documentation »
- The IPython API »