From: Fred Drake Date: Sat, 16 Aug 2003 06:31:21 +0000 (+0000) Subject: Adjust some horizontal indentation to be consistent with the style used X-Git-Tag: v2.3.1~145 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=49ce872cc312775b81855e8216da2d695ff5a442;p=thirdparty%2FPython%2Fcpython.git Adjust some horizontal indentation to be consistent with the style used throughout the documentation. --- diff --git a/Doc/tut/tut.tex b/Doc/tut/tut.tex index 1dcf5c3ebc2e..b003e1773d8b 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