IPython Documentation

Table Of Contents

Previous topic

Module: utils.py3compat

Next topic

Module: utils.strdispatch

This Page


This documentation is for an old version of IPython. You can find docs for newer versions here.

Module: utils.rlineimpl

Imports and provides the ‘correct’ version of readline for the platform.

Readline is used throughout IPython as:

import IPython.utils.rlineimpl as readline

In addition to normal readline stuff, this module provides have_readline boolean and _outputfile variable used in IPython.utils.

1 Function

IPython.utils.rlineimpl.clear_history() → None

Clear the current readline history.