]> granicus.if.org Git - python/commitdiff
Cleaned up the docstring for readline.set_completer().
authorFred Drake <fdrake@acm.org>
Wed, 1 Aug 2001 21:44:14 +0000 (21:44 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 1 Aug 2001 21:44:14 +0000 (21:44 +0000)
Thanks to Nathaniel Gray for reporting the confusion.

Modules/readline.c

index 29d8999b5fda29da0fd11af01fa4eb18e2597c7d..6469d27ec610f2e29d775dc7d5c554d65280f17b 100644 (file)
@@ -266,7 +266,7 @@ static char doc_set_completer[] = "\
 set_completer([function]) -> None\n\
 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\
+for state in 0, 1, 2, ..., until it returns a non-string.\n\
 It should return the next possible completion starting with 'text'.\
 ";