mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
Merged revisions 74970 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r74970 | ronald.oussoren | 2009-09-20 16:18:15 +0200 (Sun, 20 Sep 2009) | 7 lines Issue 6877: this patch makes it possible to link the readline extension to the libedit emulation of the readline API on OSX 10.5 or later. This also adds a minimal testsuite for readline to check that the history manipuation functions have the same interface with both C libraries. ........
This commit is contained in:
parent
f172f31e4f
commit
2efd924754
5 changed files with 133 additions and 10 deletions
|
|
@ -14,6 +14,17 @@ made using this module affect the behaviour of both the interpreter's
|
|||
interactive prompt and the prompts offered by the built-in :func:`input`
|
||||
function.
|
||||
|
||||
..note::
|
||||
|
||||
On MacOS X the :mod:`readline` module can be implemented using
|
||||
the ``libedit`` library instead of GNU readline.
|
||||
|
||||
The configuration file for ``libedit`` is different from that
|
||||
of GNU readline. If you programmaticly load configuration strings
|
||||
you can check for the text "libedit" in :const:`readline.__doc__`
|
||||
to differentiate between GNU readline and libedit.
|
||||
|
||||
|
||||
The :mod:`readline` module defines the following functions:
|
||||
|
||||
|
||||
|
|
@ -166,7 +177,6 @@ The :mod:`readline` module defines the following functions:
|
|||
|
||||
Append a line to the history buffer, as if it was the last line typed.
|
||||
|
||||
|
||||
.. seealso::
|
||||
|
||||
Module :mod:`rlcompleter`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue