summaryrefslogtreecommitdiffstats
path: root/Modules/readline.c
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-08-01 21:44:14 (GMT)
committerFred Drake <fdrake@acm.org>2001-08-01 21:44:14 (GMT)
commit52d55a392600011d3edfe85c694744ec550ad1fe (patch)
treea74096da13a9bedab192e35047091a271360b86f /Modules/readline.c
parent905dc558f184cfb706d39a582d1abcfef3d37962 (diff)
downloadcpython-52d55a392600011d3edfe85c694744ec550ad1fe.zip
cpython-52d55a392600011d3edfe85c694744ec550ad1fe.tar.gz
cpython-52d55a392600011d3edfe85c694744ec550ad1fe.tar.bz2
Cleaned up the docstring for readline.set_completer().
Thanks to Nathaniel Gray for reporting the confusion.
Diffstat (limited to 'Modules/readline.c')
-rw-r--r--Modules/readline.c2
1 files changed, 1 insertions, 1 deletions
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'.\
";