diff --git a/doc_src/cmds/break.rst b/doc_src/cmds/break.rst index 7acfff689..d95f20805 100644 --- a/doc_src/cmds/break.rst +++ b/doc_src/cmds/break.rst @@ -23,8 +23,6 @@ Example ------- The following code searches all .c files for "smurf", and halts at the first occurrence. - - :: for i in *.c @@ -34,3 +32,7 @@ The following code searches all .c files for "smurf", and halts at the first occ end end +See Also +-------- + +- the :ref:`continue ` command, to skip the remainder of the current iteration of the current inner loop diff --git a/doc_src/cmds/continue.rst b/doc_src/cmds/continue.rst index f870edcec..532f6b866 100644 --- a/doc_src/cmds/continue.rst +++ b/doc_src/cmds/continue.rst @@ -20,8 +20,6 @@ Example The following code removes all tmp files that do not contain the word smurf. - - :: for i in *.tmp @@ -34,3 +32,7 @@ The following code removes all tmp files that do not contain the word smurf. echo $i end +See Also +-------- + +- the :ref:`break ` command, to stop the current inner loop