[Python-checkins] CVS: python/dist/src/Doc/lib libreadline.tex,1.2,1.3

Skip Montanaro python-dev@python.org
2000年7月19日 09:56:28 -0700


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory slayer.i.sourceforge.net:/tmp/cvs-serv9535
Modified Files:
	libreadline.tex 
Log Message:
added documentation for new functions {get,set}_history_length
Index: libreadline.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libreadline.tex,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** libreadline.tex	2000年07月06日 04:51:04	1.2
--- libreadline.tex	2000年07月19日 16:56:26	1.3
***************
*** 43,46 ****
--- 43,57 ----
 \end{funcdesc}
 
+ \begin{funcdesc}{get_history_length}{}
+ Return the desired length of the history file. Negative values imply
+ unlimited history file size.
+ \end{funcdesc}
+ 
+ \begin{funcdesc}{set_history_length}{length}
+ Set the number of lines to save in the history file.
+ \func{write_history_file} uses this value to truncate the history file when
+ saving. Negative values imply unlimited history file size.
+ \end{funcdesc}
+ 
 \begin{funcdesc}{set_completer}{\optional{function}}
 Set or remove the completer function. The completer function is

AltStyle によって変換されたページ (->オリジナル) /