From 1af6fb5298ff9a9026fea15840d7dd22c1a73426 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sat, 2 Aug 2008 02:57:17 +0000 Subject: [PATCH] fix indentation that caused logic bug --- Doc/tutorial/controlflow.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/tutorial/controlflow.rst b/Doc/tutorial/controlflow.rst index 4fa9858765..4c10eb80ff 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 -- 2.49.0