changeset: 102018:cff695a0b449 branch: 2.7 parent: 102000:5c8cddc4a8ee user: Martin Panter date: Tue Jun 14 08:45:43 2016 +0000 files: Doc/library/readline.rst description: Issue #16182: Backport documentation of set_pre_input_hook() availability diff -r 5c8cddc4a8ee -r cff695a0b449 Doc/library/readline.rst --- a/Doc/library/readline.rst Tue Jun 14 00:53:18 2016 -0400 +++ b/Doc/library/readline.rst Tue Jun 14 08:45:43 2016 +0000 @@ -186,7 +186,8 @@ be used as the new hook function; if omitted or ``None``, any function already installed is removed. The hook is called with no arguments after the first prompt has been printed and just before - readline starts reading input characters. + readline starts reading input characters. This function only exists + if Python was compiled for a version of the library that supports it. Completion