summaryrefslogtreecommitdiff
path: root/Doc/library/readline.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-10-06 09:33:55 +0000
committerGeorg Brandl <georg@python.org>2010-10-06 09:33:55 +0000
commitdb235c1c941e51b2eb36ea605f1999b7c6d0ffaf (patch)
treeca6466ade1c640e14badab35a096bb6eccfb6f6d /Doc/library/readline.rst
parent0930228aee0fd70066b5d7fe6afd41c2bce0dca6 (diff)
downloadcpython-git-db235c1c941e51b2eb36ea605f1999b7c6d0ffaf.tar.gz
Merged revisions 85008,85011,85240 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85008 | georg.brandl | 2010-09-25 15:30:03 +0200 (Sa, 25 Sep 2010) | 1 line #9944: fix typo. ........ r85011 | georg.brandl | 2010-09-25 18:56:36 +0200 (Sa, 25 Sep 2010) | 1 line #9562: slight clarification. ........ r85240 | georg.brandl | 2010-10-06 07:08:32 +0200 (Mi, 06 Okt 2010) | 1 line #10034: import readline in longer example. ........
Diffstat (limited to 'Doc/library/readline.rst')
-rw-r--r--Doc/library/readline.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/library/readline.rst b/Doc/library/readline.rst
index 9a7e940646..f6e855e295 100644
--- a/Doc/library/readline.rst
+++ b/Doc/library/readline.rst
@@ -210,6 +210,7 @@ normally be executed automatically during interactive sessions from the user's
:envvar:`PYTHONSTARTUP` file. ::
import os
+ import readline
histfile = os.path.join(os.environ["HOME"], ".pyhist")
try:
readline.read_history_file(histfile)