diff options
| author | Martin Panter <vadmium+py@gmail.com> | 2016-06-14 08:49:51 +0000 |
|---|---|---|
| committer | Martin Panter <vadmium+py@gmail.com> | 2016-06-14 08:49:51 +0000 |
| commit | 6d1d2f229e02cd2b45bdd46f5fdcc5b89dd682bd (patch) | |
| tree | 802c9ecf9e5e1a34e369799ee9a5ea910e61d83d /Doc | |
| parent | 006a56ceda1ad9c9b1caf6be14d87b3fee87c89a (diff) | |
| parent | 6afbc653a7bba73ecc56a6ba37632d25376dbe2f (diff) | |
| download | cpython-git-6d1d2f229e02cd2b45bdd46f5fdcc5b89dd682bd.tar.gz | |
Issue #16182: Merge readline update from 3.5
Diffstat (limited to 'Doc')
| -rw-r--r-- | Doc/library/readline.rst | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Doc/library/readline.rst b/Doc/library/readline.rst index 7dab9e220e..37e400eceb 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 |
