New submission from Justin Lebar email@example.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:
---------- 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