summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--doc/tut1.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/tut1.rst b/doc/tut1.rst
index 415a44f5f..cb4dc1cc9 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