From: Martin Panter Date: Tue, 14 Jun 2016 08:45:43 +0000 (+0000) Subject: Issue #16182: Backport documentation of set_pre_input_hook() availability X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fc0a55fed902adb668d72af41530e2f2c93e90b4;p=python Issue #16182: Backport documentation of set_pre_input_hook() availability --- diff --git a/Doc/library/readline.rst b/Doc/library/readline.rst index a0ed89eba1..94e5e101eb 100644 --- a/Doc/library/readline.rst +++ b/Doc/library/readline.rst @@ -186,7 +186,8 @@ Startup hooks 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