diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2003-09-20 16:08:33 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2003-09-20 16:08:33 (GMT) |
commit | e7a9796a0f83bd2e5e2b1d35ad8f0a2a96ec5e3f (patch) | |
tree | ffe4c8f50a81591e0fb8a9e7354b2d6b2678ea31 /Doc | |
parent | c6bb6c0f8c90f5f14d933b974db4c3ce2c7b296f (diff) | |
download | cpython-e7a9796a0f83bd2e5e2b1d35ad8f0a2a96ec5e3f.zip cpython-e7a9796a0f83bd2e5e2b1d35ad8f0a2a96ec5e3f.tar.gz cpython-e7a9796a0f83bd2e5e2b1d35ad8f0a2a96ec5e3f.tar.bz2 |
Patch #800697: Add readline.clear_history.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/libreadline.tex | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/lib/libreadline.tex b/Doc/lib/libreadline.tex index d428594..17b48c5 100644 --- a/Doc/lib/libreadline.tex +++ b/Doc/lib/libreadline.tex @@ -42,6 +42,12 @@ Save a readline history file. The default filename is \file{\~{}/.history}. \end{funcdesc} +\begin{funcdesc}{clear_history}{} +Clear the current history. (Note: this function is not available if +the installed version of GNU readline doesn't support it.) +\versionadded{2.4} +\end{funcdesc} + \begin{funcdesc}{get_history_length}{} Return the desired length of the history file. Negative values imply unlimited history file size. |