[issue10415] readline.insert_text documentation incomplete

Justin Lebar report at bugs.python.org
Sun Nov 14 08:14:46 CET 2010


Justin Lebar <justin.lebar at gmail.com> added the comment:

Actually, maybe startup_hook doesn't do what it sounds like it does and insert_text() only works from startup_hook.

If this is the case, then the documentation for startup_hook could also be improved:

> The startup_hook function is called with no arguments just before 
> readline prints the first prompt.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10415>
_______________________________________


More information about the Python-bugs-list mailing list