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

Fred L. Drake fdrake@users.sourceforge.net
Wed, 01 Aug 2001 14:42:47 -0700


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv26396/lib

Modified Files:
	libreadline.tex 
Log Message:

Cleaned up the description of readline.set_completer().
Thanks to Nathaniel Gray for reporting the confusion.


Index: libreadline.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libreadline.tex,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** libreadline.tex	2000/10/10 17:03:45	1.5
--- libreadline.tex	2001/08/01 21:42:45	1.6
***************
*** 56,63 ****
  
  \begin{funcdesc}{set_completer}{\optional{function}}
! Set or remove the completer function.  The completer function is
! called as \code{\var{function}(\var{text}, \var{state})},
! \code{for i in [0, 1, 2, ...]} until it returns a non-string.
! It should return the next possible completion starting with \var{text}.
  \end{funcdesc}
  
--- 56,66 ----
  
  \begin{funcdesc}{set_completer}{\optional{function}}
! Set or remove the completer function.  If \var{function} is specified,
! it will be used as the new completer function; if omitted or
! \code{None}, any completer function already installed is removed.  The
! completer function is called as \code{\var{function}(\var{text},
! \var{state})}, for \var{state} in \code{0}, \code{1}, \code{2}, ...,
! until it returns a non-string value.  It should return the next
! possible completion starting with \var{text}.
  \end{funcdesc}