diff options
author | guido@google.com <guido@google.com> | 2011-03-29 19:09:45 (GMT) |
---|---|---|
committer | guido@google.com <guido@google.com> | 2011-03-29 19:09:45 (GMT) |
commit | 69cfcabae3d72845d44e1078d25072fdbb02072c (patch) | |
tree | 0aedaa424e8c8f7139567aed7b6980ea59e16c97 /Doc/library/readline.rst | |
parent | 2008a8f8c09b18fbd24e8039553d50a828dd3fb2 (diff) | |
parent | e6c1eb92675f67d1907bd7ba00c44262c18e93d4 (diff) | |
download | cpython-69cfcabae3d72845d44e1078d25072fdbb02072c.zip cpython-69cfcabae3d72845d44e1078d25072fdbb02072c.tar.gz cpython-69cfcabae3d72845d44e1078d25072fdbb02072c.tar.bz2 |
Merge.
Diffstat (limited to 'Doc/library/readline.rst')
-rw-r--r-- | Doc/library/readline.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/readline.rst b/Doc/library/readline.rst index c667317..ab55197 100644 --- a/Doc/library/readline.rst +++ b/Doc/library/readline.rst @@ -196,7 +196,7 @@ normally be executed automatically during interactive sessions from the user's import os import readline - histfile = os.path.join(os.environ["HOME"], ".pyhist") + histfile = os.path.join(os.path.expanduser("~"), ".pyhist") try: readline.read_history_file(histfile) except IOError: |