[Python-checkins] r85240 - python/branches/py3k/Doc/library/readline.rst

georg.brandl python-checkins at python.org
Wed Oct 6 07:08:32 CEST 2010


Author: georg.brandl
Date: Wed Oct  6 07:08:32 2010
New Revision: 85240

Log:
#10034: import readline in longer example.

Modified:
   python/branches/py3k/Doc/library/readline.rst

Modified: python/branches/py3k/Doc/library/readline.rst
==============================================================================
--- python/branches/py3k/Doc/library/readline.rst	(original)
+++ python/branches/py3k/Doc/library/readline.rst	Wed Oct  6 07:08:32 2010
@@ -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)


More information about the Python-checkins mailing list