summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-08-02 03:05:11 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-08-02 03:05:11 (GMT)
commit80790287ab5e12df0ca03bcfdacb57b83c16d9ec (patch)
tree274e2a08aaafe67d55ec4cff4969b09a7ea433a0
parent1af6fb5298ff9a9026fea15840d7dd22c1a73426 (diff)
downloadcpython-80790287ab5e12df0ca03bcfdacb57b83c16d9ec.zip
cpython-80790287ab5e12df0ca03bcfdacb57b83c16d9ec.tar.gz
cpython-80790287ab5e12df0ca03bcfdacb57b83c16d9ec.tar.bz2
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 4c10eb8..4fa9858 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