[Python-checkins] CVS: python/dist/src/Doc/lib libreadline.tex,1.7,1.8
Guido van Rossum
gvanrossum@users.sourceforge.net
2001年10月18日 18:18:45 -0700
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv2159/Doc/lib
Modified Files:
libreadline.tex
Log Message:
SF patch #443759: Add Interface to readline's add_history
This was submitted by Moshe, but apparently he's too busy to check it
in himself. He wrote:
Here is a function in GNU readline called add_history,
which is used to manage the history list. Though Python
uses this function internally, it does not expose it to
the Python programmer. This patch adds direct interface
to this function with documentation.
This could be used by friendly modules to "seed" the
history with commands.
Index: libreadline.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libreadline.tex,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** libreadline.tex 2001年09月30日 21:09:58 1.7
--- libreadline.tex 2001年10月19日 01:18:43 1.8
***************
*** 97,100 ****
--- 97,104 ----
\end{funcdesc}
+ \begin{funcdesc}{add_history}{line}
+ Append a line to the history buffer, as if it was the last line typed.
+ \end{funcdesc}
+
\begin{seealso}