mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Cleaned up the docstring for readline.set_completer().
Thanks to Nathaniel Gray for reporting the confusion.
This commit is contained in:
parent
905dc558f1
commit
52d55a3926
1 changed files with 1 additions and 1 deletions
|
@ -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'.\
|
||||
";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue