summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-08-02 03:05:11 +0000
committerBenjamin Peterson <benjamin@python.org>2008-08-02 03:05:11 +0000
commit504ae652366191e40f382c25ea2b3c2a1302bc8c (patch)
treee66e0021bdb65569bc8249bab64d47598e7155a3
parent5d28747c0ef46c6baab542f0e4e3133c2dbb574c (diff)
downloadcpython-504ae652366191e40f382c25ea2b3c2a1302bc8c.tar.gz
revert last revision; code was right
-rw-r--r--Doc/tutorial/controlflow.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/tutorial/controlflow.rst b/Doc/tutorial/controlflow.rst
index 4c10eb80ff..4fa9858765 100644
--- a/Doc/tutorial/controlflow.rst
+++ b/Doc/tutorial/controlflow.rst
@@ -138,9 +138,9 @@ following loop, which searches for prime numbers::
... if n % x == 0:
... print n, 'equals', x, '*', n/x
... break
- ... else:
- ... # loop fell through without finding a factor
- ... print n, 'is a prime number'
+ ... else:
+ ... # loop fell through without finding a factor
+ ... print n, 'is a prime number'
...
2 is a prime number
3 is a prime number