From 52d55a392600011d3edfe85c694744ec550ad1fe Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Wed, 1 Aug 2001 21:44:14 +0000 Subject: Cleaned up the docstring for readline.set_completer(). Thanks to Nathaniel Gray for reporting the confusion. --- Modules/readline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/readline.c b/Modules/readline.c index 29d8999..6469d27 100644 --- a/Modules/readline.c +++ b/Modules/readline.c @@ -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'.\ "; -- cgit v0.12