8000 Cleaned up the docstring for readline.set_completer(). · python/cpython@52d55a3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 52d55a3

Browse files
committed
Cleaned up the docstring for readline.set_completer().
Thanks to Nathaniel Gray for reporting the confusion.
1 parent 905dc55 commit 52d55a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/readline.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ static char doc_set_completer[] = "\
266266
set_completer([function]) -> None\n\
267267
Set or remove the completer function.\n\
268268
The function is called as function(text, state),\n\
269-
for i in [0, 1, 2, ...] until it returns a non-string.\n\
269+
for state in 0, 1, 2, ..., until it returns a non-string.\n\
270270
It should return the next possible completion starting with 'text'.\
271271
";
272272

0 commit comments

Comments
 (0)
0