From c5bf2631f55ec05470353e6648e836283e8062bf Mon Sep 17 00:00:00 2001 From: Chas Belov <59780179+ChasBelov@users.noreply.github.com> Date: Sat, 23 May 2020 14:54:20 -0700 Subject: [PATCH] bpo-40640: Tutorial for Continue missing ... line In the even/not-even example for Continue, the results appear to start without the "for" loop having been closed by entering a return with no input. Add the return, designated by ... with no following text. --- Doc/tutorial/controlflow.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/Doc/tutorial/controlflow.rst b/Doc/tutorial/controlflow.rst index 26de866aab90cb..93ecc4208e8c50 100644 --- a/Doc/tutorial/controlflow.rst +++ b/Doc/tutorial/controlflow.rst @@ -211,6 +211,7 @@ iteration of the loop:: ... print("Found an even number", num) ... continue ... print("Found a number", num) + ... Found an even number 2 Found a number 3 Found an even number 4