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-Tag: v2.7.13rc1~288 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc0a55fed902adb668d72af41530e2f2c93e90b4;p=thirdparty%2FPython%2Fcpython.git Issue #16182: Backport documentation of set_pre_input_hook() availability --- diff --git a/Doc/library/readline.rst b/Doc/library/readline.rst index a0ed89eba10e..94e5e101ebb0 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