Changeset 391 for python/trunk/Doc/library/readline.rst
- Timestamp:
- Mar 19, 2014, 11:31:01 PM (11 years ago)
- Location:
- python/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk
-
Property svn:mergeinfo
set to
/python/vendor/Python-2.7.6 merged eligible /python/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
python/trunk/Doc/library/readline.rst
r2 r391 15 15 :func:`input` built-in functions. 16 16 17 .. note::17 .. note:: 18 18 19 19 On MacOS X the :mod:`readline` module can be implemented using … … 21 21 22 22 The configuration file for ``libedit`` is different from that 23 of GNU readline. If you programmatic ly load configuration strings23 of GNU readline. If you programmatically load configuration strings 24 24 you can check for the text "libedit" in :const:`readline.__doc__` 25 25 to differentiate between GNU readline and libedit. … … 211 211 212 212 import os 213 histfile = os.path.join(os.environ["HOME"], ".pyhist") 213 import readline 214 histfile = os.path.join(os.path.expanduser("~"), ".pyhist") 214 215 try: 215 216 readline.read_history_file(histfile)
Note:
See TracChangeset
for help on using the changeset viewer.