IPython Documentation

Table Of Contents

Previous topic

Module: utils.pyfile

Next topic

Module: utils.strdispatch

This Page

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.

2 Functions

IPython.utils.rlineimpl.add_history(string) → None

add a line to the history buffer

IPython.utils.rlineimpl.clear_history() → None

Clear the current readline history.