diff options
author | Georg Brandl <georg@python.org> | 2011-12-25 18:03:07 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2011-12-25 18:03:07 (GMT) |
commit | 1532c8f9a737c4ae03b5b759ad7b80b1808ec326 (patch) | |
tree | 66b8c51a199ddaf7e0c5b4c9245f580db59a5278 /Doc | |
parent | 7386662699daa0ee0e8fb42a94954c404860c4a6 (diff) | |
download | cpython-1532c8f9a737c4ae03b5b759ad7b80b1808ec326.zip cpython-1532c8f9a737c4ae03b5b759ad7b80b1808ec326.tar.gz cpython-1532c8f9a737c4ae03b5b759ad7b80b1808ec326.tar.bz2 |
I do not think we will ever have auto-indent at the prompt, that is for IPython and the like.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/tutorial/introduction.rst | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Doc/tutorial/introduction.rst b/Doc/tutorial/introduction.rst index 44519da..4d67677 100644 --- a/Doc/tutorial/introduction.rst +++ b/Doc/tutorial/introduction.rst @@ -593,13 +593,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 :func:`print` function writes the value of the expression(s) it is given. It differs from just writing the expression you want to write (as we did |