From 577b4f795cfb5dcc387dbb5a3751b4c1eec42a66 Mon Sep 17 00:00:00 2001 From: Miran Date: Fri, 20 Nov 2020 12:31:06 +0100 Subject: [PATCH] fix #16047 (#16066) (cherry picked from commit 1ad7e4f30b687564d76272fcd25f13cf98ff3d69) --- doc/tut1.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/tut1.rst b/doc/tut1.rst index 415a44f5f0..cb4dc1cc9d 100644 --- a/doc/tut1.rst +++ b/doc/tut1.rst @@ -472,13 +472,15 @@ innermost construct, unless a label of a block is given: echo "looping" break # leaves the loop, but not the block echo "still in block" + echo "outside the block" block myblock2: echo "entering block" while true: echo "looping" break myblock2 # leaves the block (and the loop) - echo "still in block" + echo "still in block" # it won't be printed + echo "outside the block" Continue statement