]> granicus.if.org Git - python/commitdiff
Wording fix.
authorGeorg Brandl <georg@python.org>
Sun, 27 Jun 2010 10:59:19 +0000 (10:59 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 27 Jun 2010 10:59:19 +0000 (10:59 +0000)
Doc/tutorial/controlflow.rst

index 8a2d645dfb05332d0cb30815596e937e2b44ed91..bd88ad6ff50179181c11b59b9b1e4d06d5c7b8f4 100644 (file)
@@ -87,7 +87,6 @@ The :func:`range` Function
 If you do need to iterate over a sequence of numbers, the built-in function
 :func:`range` comes in handy.  It generates arithmetic progressions::
 
-
     >>> for i in range(5):
     ...     print(i)
     ...
@@ -97,9 +96,7 @@ If you do need to iterate over a sequence of numbers, the built-in function
     3
     4
 
-
-
-The given end point is never part of the generated list; ``range(10)`` generates
+The given end point is never part of the generated sequence; ``range(10)`` generates
 10 values, the legal indices for items of a sequence of length 10.  It
 is possible to let the range start at another number, or to specify a different
 increment (even negative; sometimes this is called the 'step')::