diff Doc/tutorial/interactive.rst @ 51745:9815da43a1ce legacy-trunk

revert r69777 since all the experts agree that extra import lines distract from the code
author Benjamin Peterson <benjamin@python.org>
date Fri, 20 Feb 2009 03:31:23 +0000
parents 438592890e2b
children 137599acb8ba
line wrap: on
line diff
--- a/Doc/tutorial/interactive.rst	Thu Feb 19 18:52:21 2009 +0000
+++ b/Doc/tutorial/interactive.rst	Fri Feb 20 03:31:23 2009 +0000
@@ -99,8 +99,7 @@
 enable it in the interpreter's interactive mode, add the following to your
 startup file: [#]_  ::
 
-   import readline
-   import rlcompleter
+   import rlcompleter, readline
    readline.parse_and_bind('tab: complete')
 
 This binds the :kbd:`Tab` key to the completion function, so hitting the