[Python-checkins] python/dist/src/Doc/lib libreadline.tex, 1.10,
1.10.12.1
pje at users.sourceforge.net
pje at users.sourceforge.net
Tue May 4 15:27:37 EDT 2004
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32718
Modified Files:
Tag: release23-maint
libreadline.tex
Log Message:
Document readline module functions added in Python 2.3. See:
http://mail.python.org/pipermail/python-dev/2003-September/037922.html
for background. It appears I forgot to ever submit a bug report or patch.
Index: libreadline.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libreadline.tex,v
retrieving revision 1.10
retrieving revision 1.10.12.1
diff -C2 -d -r1.10 -r1.10.12.1
*** libreadline.tex 21 Feb 2003 20:11:09 -0000 1.10
--- libreadline.tex 4 May 2004 19:27:35 -0000 1.10.12.1
***************
*** 55,58 ****
--- 55,74 ----
\end{funcdesc}
+ \begin{funcdesc}{get_current_history_length}{}
+ Return the number of lines currently in the history. (This is different
+ from \function{get_history_length()}, which returns the maximum number of
+ lines that will be written to a history file.) \versionadded{2.3}
+ \end{funcdesc}
+
+ \begin{funcdesc}{get_history_item}{index}
+ Return the current contents of history item at \var{index}.
+ \versionadded{2.3}
+ \end{funcdesc}
+
+ \begin{funcdesc}{redisplay}{}
+ Change what's displayed on the screen to reflect the current contents
+ of the line buffer. \versionadded{2.3}
+ \end{funcdesc}
+
\begin{funcdesc}{set_startup_hook}{\optional{function}}
Set or remove the startup_hook function. If \var{function} is specified,
More information about the Python-checkins
mailing list