diff options
author | Éric Araujo <merwok@netwok.org> | 2011-03-26 00:59:47 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2011-03-26 00:59:47 (GMT) |
commit | 722bec421086dbb117c9cd8592631203fce3ec21 (patch) | |
tree | 90c4ecb49a01f50c1f54eb6aaed07cee6328dbc2 /Doc/library/readline.rst | |
parent | e7665c4cf3ec73a8d43c8ab489abc2ed8deae389 (diff) | |
parent | 211643b67320b253a2f4f723ece4423559d28ebf (diff) | |
download | cpython-722bec421086dbb117c9cd8592631203fce3ec21.zip cpython-722bec421086dbb117c9cd8592631203fce3ec21.tar.gz cpython-722bec421086dbb117c9cd8592631203fce3ec21.tar.bz2 |
Merge 3.1
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: |