Thanks to visit codestin.com
Credit goes to github.com

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)