summaryrefslogtreecommitdiff
path: root/Doc/tutorial/interactive.rst
diff options
context:
space:
mode:
authorJeroen Ruigrok van der Werven <asmodai@in-nomine.org>2009-02-19 18:52:21 +0000
committerJeroen Ruigrok van der Werven <asmodai@in-nomine.org>2009-02-19 18:52:21 +0000
commit5149742e8b3c8221d4cb53dcfc9a12ae3fec9238 (patch)
treed3b7dbc021eeed177f453603f8f59f0ad01b2e0e /Doc/tutorial/interactive.rst
parenta630735b31b5ee0a1a59b3b28299e26a7ee74d9f (diff)
downloadcpython-git-5149742e8b3c8221d4cb53dcfc9a12ae3fec9238.tar.gz
Since we recommend one module per import line, reflect this also in the
documentation.
Diffstat (limited to 'Doc/tutorial/interactive.rst')
-rw-r--r--Doc/tutorial/interactive.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/tutorial/interactive.rst b/Doc/tutorial/interactive.rst
index 6a439bde12..90981e54a9 100644
--- a/Doc/tutorial/interactive.rst
+++ b/Doc/tutorial/interactive.rst
@@ -99,7 +99,8 @@ Automatic completion of variable and module names is optionally available. To
enable it in the interpreter's interactive mode, add the following to your
startup file: [#]_ ::
- import rlcompleter, readline
+ import readline
+ import rlcompleter
readline.parse_and_bind('tab: complete')
This binds the :kbd:`Tab` key to the completion function, so hitting the