[Python-checkins] python/dist/src/Doc/lib libreadline.tex, 1.11,
1.12
pje at users.sourceforge.net
pje at users.sourceforge.net
Tue May 4 15:20:25 EDT 2004
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30928/Doc/lib
Modified Files:
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.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** libreadline.tex 20 Sep 2003 16:08:32 -0000 1.11
--- libreadline.tex 4 May 2004 19:20:22 -0000 1.12
***************
*** 61,64 ****
--- 61,80 ----
\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