summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2004-08-15 14:32:06 (GMT)
committerSkip Montanaro <skip@pobox.com>2004-08-15 14:32:06 (GMT)
commite5069019e7bd33ed5d6072c38ad149694053aaca (patch)
tree5a404b7568ff3c3466d4e3a47928b3921e28edd4 /Doc/lib
parentf0d5f7917e4c6b4acd209573c8f69c3dc5793ffd (diff)
downloadcpython-e5069019e7bd33ed5d6072c38ad149694053aaca.zip
cpython-e5069019e7bd33ed5d6072c38ad149694053aaca.tar.gz
cpython-e5069019e7bd33ed5d6072c38ad149694053aaca.tar.bz2
Add get_history_item and replace_history_item functions to the readline
module. Closes patch #675551. My apologies to Michal Vitecek for taking so long to process this.
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/libreadline.tex11
1 files changed, 10 insertions, 1 deletions
diff --git a/Doc/lib/libreadline.tex b/Doc/lib/libreadline.tex
index d0b26a3..ac8e23f 100644
--- a/Doc/lib/libreadline.tex
+++ b/Doc/lib/libreadline.tex
@@ -71,6 +71,16 @@ Return the current contents of history item at \var{index}.
\versionadded{2.3}
\end{funcdesc}
+\begin{funcdesc}{remove_history_item}{pos}
+Remove history item specified by its position from the history.
+\versionadded{2.4}
+\end{funcdesc}
+
+\begin{funcdesc}{replace_history_item}{pos, line}
+Replace history item specified by its position with the given line.
+\versionadded{2.4}
+\end{funcdesc}
+
\begin{funcdesc}{redisplay}{}
Change what's displayed on the screen to reflect the current contents
of the line buffer. \versionadded{2.3}
@@ -127,7 +137,6 @@ Get the readline word delimiters for tab-completion.
Append a line to the history buffer, as if it was the last line typed.
\end{funcdesc}
-
\begin{seealso}
\seemodule{rlcompleter}{Completion of Python identifiers at the
interactive prompt.}