commit | a102ae3426d868b0ef2c1710c89647508018ec36 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Wed Oct 06 05:08:32 2010 +0000 |
committer | Georg Brandl <georg@python.org> | Wed Oct 06 05:08:32 2010 +0000 |
tree | c9308e20085a1264af58ec04d18a3f1ea62f47c6 | |
parent | b44155483515123a320ae57ec4b7ab237f991362 [diff] [blame] |
#10034: import readline in longer example.
diff --git a/Doc/library/readline.rst b/Doc/library/readline.rst index cb1ae6d..c667317 100644 --- a/Doc/library/readline.rst +++ b/Doc/library/readline.rst
@@ -195,6 +195,7 @@ :envvar:`PYTHONSTARTUP` file. :: import os + import readline histfile = os.path.join(os.environ["HOME"], ".pyhist") try: readline.read_history_file(histfile)