PYTHON readline_clear_history

is this article helpful?
|
Python replacement for PHP's readline_clear_history [ edit | history ]
import readline
readline.clear_history()

PHP readline_clear_history

PHP original manual for readline_clear_history [ show | php.net ]

readline_clear_history

(PHP 4, PHP 5)

readline_clear_historyClears the history

Description

bool readline_clear_history ( void )

This function clears the entire command line history.

Return Values

Returns TRUE on success or FALSE on failure.