Ignore:
Timestamp:
Mar 19, 2014, 11:31:01 PM (11 years ago)
Author:
dmik
Message:

python: Merge vendor 2.7.6 to trunk.

Location:
python/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/trunk

  • python/trunk/Doc/library/readline.rst

    r2 r391  
    1515:func:`input` built-in functions.
    1616
    17 ..note::
     17.. note::
    1818
    1919  On MacOS X the :mod:`readline` module can be implemented using
     
    2121
    2222  The configuration file for ``libedit`` is different from that
    23   of GNU readline. If you programmaticly load configuration strings
     23  of GNU readline. If you programmatically load configuration strings
    2424  you can check for the text "libedit" in :const:`readline.__doc__`
    2525  to differentiate between GNU readline and libedit.
     
    211211
    212212   import os
    213    histfile = os.path.join(os.environ["HOME"], ".pyhist")
     213   import readline
     214   histfile = os.path.join(os.path.expanduser("~"), ".pyhist")
    214215   try:
    215216       readline.read_history_file(histfile)
Note: See TracChangeset for help on using the changeset viewer.