summaryrefslogtreecommitdiffstats
path: root/Doc/library/readline.rst
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-06-14 08:49:51 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-06-14 08:49:51 (GMT)
commit6d1d2f229e02cd2b45bdd46f5fdcc5b89dd682bd (patch)
tree802c9ecf9e5e1a34e369799ee9a5ea910e61d83d /Doc/library/readline.rst
parent006a56ceda1ad9c9b1caf6be14d87b3fee87c89a (diff)
parent6afbc653a7bba73ecc56a6ba37632d25376dbe2f (diff)
downloadcpython-6d1d2f229e02cd2b45bdd46f5fdcc5b89dd682bd.zip
cpython-6d1d2f229e02cd2b45bdd46f5fdcc5b89dd682bd.tar.gz
cpython-6d1d2f229e02cd2b45bdd46f5fdcc5b89dd682bd.tar.bz2
Issue #16182: Merge readline update from 3.5
Diffstat (limited to 'Doc/library/readline.rst')
-rw-r--r--Doc/library/readline.rst7
1 files changed, 5 insertions, 2 deletions
diff --git a/Doc/library/readline.rst b/Doc/library/readline.rst
index 7dab9e2..37e400e 100644
--- a/Doc/library/readline.rst
+++ b/Doc/library/readline.rst
@@ -104,7 +104,9 @@ The following functions operate on a history file:
Append the last *nelements* items of history to a file. The default filename is
:file:`~/.history`. The file must already exist. This calls
- :c:func:`append_history` in the underlying library.
+ :c:func:`append_history` in the underlying library. This function
+ only exists if Python was compiled for a version of the library
+ that supports it.
.. versionadded:: 3.5
@@ -199,7 +201,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