]> granicus.if.org Git - python/commitdiff
Issue #16182: Backport documentation of set_pre_input_hook() availability
authorMartin Panter <vadmium+py@gmail.com>
Tue, 14 Jun 2016 08:45:43 +0000 (08:45 +0000)
committerMartin Panter <vadmium+py@gmail.com>
Tue, 14 Jun 2016 08:45:43 +0000 (08:45 +0000)
Doc/library/readline.rst

index a0ed89eba10e4514553dedb5037d518b76b13a86..94e5e101ebb0c45f5416764c6cafca14348a7a49 100644 (file)
@@ -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