New submission from Justin Lebar <justin.lebar(a)gmail.com>:
The readline documentation currently says:
> readline.insert_text(string)
> Insert text into the command line.
But as far as I can tell, readline.insert_text() does something only when called from startup_hook or pre_input_hook.
Here's an example of someone using the module in a way that works:
http://swapoff.org/svn/cly/tags/0.7/cly/interactive.py
----------
assignee: docs@python
components: Documentation
messages: 121178
nosy: Justin.Lebar, docs@python
priority: normal
severity: normal
status: open
title: readline.insert_text documentation incomplete
versions: Python 3.1
_______________________________________
Python tracker <report(a)bugs.python.org>
<http://bugs.python.org/issue10415>
_______________________________________