]> granicus.if.org Git - python/commitdiff
I do not think we will ever have auto-indent at the prompt, that is for IPython and...
authorGeorg Brandl <georg@python.org>
Sun, 25 Dec 2011 18:03:07 +0000 (19:03 +0100)
committerGeorg Brandl <georg@python.org>
Sun, 25 Dec 2011 18:03:07 +0000 (19:03 +0100)
Doc/tutorial/introduction.rst

index 04e2798e4a18a5746edfbec98572fb536b592b2b..c99915fce352345b6565d6a4c00ae6c97ad938bf 100644 (file)
@@ -630,13 +630,13 @@ This example introduces several new features.
   and ``!=`` (not equal to).
 
 * The *body* of the loop is *indented*: indentation is Python's way of grouping
-  statements.  Python does not (yet!) provide an intelligent input line editing
-  facility, so you have to type a tab or space(s) for each indented line.  In
-  practice you will prepare more complicated input for Python with a text editor;
-  most text editors have an auto-indent facility.  When a compound statement is
-  entered interactively, it must be followed by a blank line to indicate
-  completion (since the parser cannot guess when you have typed the last line).
-  Note that each line within a basic block must be indented by the same amount.
+  statements.  At the interactive prompt, you have to type a tab or space(s) for
+  each indented line.  In practice you will prepare more complicated input
+  for Python with a text editor; all decent text editors have an auto-indent
+  facility.  When a compound statement is entered interactively, it must be
+  followed by a blank line to indicate completion (since the parser cannot
+  guess when you have typed the last line).  Note that each line within a basic
+  block must be indented by the same amount.
 
 * The :keyword:`print` statement writes the value of the expression(s) it is
   given.  It differs from just writing the expression you want to write (as we did