diff options
author | Fred Drake <fdrake@acm.org> | 2003-08-16 06:30:47 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2003-08-16 06:30:47 (GMT) |
commit | 236ffba40005039cfbc0bd7475345ef7fedf86c5 (patch) | |
tree | 047747d40c845e4f5f0a46e4343d806febfd0504 /Doc/tut | |
parent | 1954035a471de97c8a69b5478dd63a41cefad9f2 (diff) | |
download | cpython-236ffba40005039cfbc0bd7475345ef7fedf86c5.zip cpython-236ffba40005039cfbc0bd7475345ef7fedf86c5.tar.gz cpython-236ffba40005039cfbc0bd7475345ef7fedf86c5.tar.bz2 |
Adjust some horizontal indentation to be consistent with the style used
throughout the documentation.
Diffstat (limited to 'Doc/tut')
-rw-r--r-- | Doc/tut/tut.tex | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/tut/tut.tex b/Doc/tut/tut.tex index 949f703..947bfe5 100644 --- a/Doc/tut/tut.tex +++ b/Doc/tut/tut.tex @@ -1234,11 +1234,11 @@ which searches for prime numbers: >>> for n in range(2, 10): ... for x in range(2, n): ... if n % x == 0: -... print n, 'equals', x, '*', n/x -... break +... print n, 'equals', x, '*', n/x +... break ... else: -... # loop fell through without finding a factor -... print n, 'is a prime number' +... # loop fell through without finding a factor +... print n, 'is a prime number' ... 2 is a prime number 3 is a prime number |