[Python-checkins] CVS: python/dist/src/Modules readline.c,2.36,2.37

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


Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv26820/Modules

Modified Files:
	readline.c 
Log Message:

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


Index: readline.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/readline.c,v
retrieving revision 2.36
retrieving revision 2.37
diff -C2 -d -r2.36 -r2.37
*** readline.c	2001/07/10 16:45:32	2.36
--- readline.c	2001/08/01 21:44:14	2.37
***************
*** 267,271 ****
  Set or remove the completer function.\n\
  The function is called as function(text, state),\n\
! for i in [0, 1, 2, ...] until it returns a non-string.\n\
  It should return the next possible completion starting with 'text'.\
  ";
--- 267,271 ----
  Set or remove the completer function.\n\
  The function is called as function(text, state),\n\
! for state in 0, 1, 2, ..., until it returns a non-string.\n\
  It should return the next possible completion starting with 'text'.\
  ";