diff options
author | Georg Brandl <georg@python.org> | 2011-12-25 18:03:22 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2011-12-25 18:03:22 (GMT) |
commit | 1e66f56d098b3c7e054dd3d623c5be901120f805 (patch) | |
tree | 225f63bb4e7708f666e01a2e2acda8da40a46915 /Doc | |
parent | 54af1ba32616eb4357985e5d38a72d23d356b7b9 (diff) | |
parent | 1532c8f9a737c4ae03b5b759ad7b80b1808ec326 (diff) | |
download | cpython-1e66f56d098b3c7e054dd3d623c5be901120f805.zip cpython-1e66f56d098b3c7e054dd3d623c5be901120f805.tar.gz cpython-1e66f56d098b3c7e054dd3d623c5be901120f805.tar.bz2 |
merge with 3.2
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 |