.. admonition:: Summary This import hook enables someone to use ``nobreak`` as a keyword equivalent to ``else`` in ``for`` and ``while`` loops. This is a sligthly more complex example than the first example we introduced, namely 'function as a keyword', as it shows how to keep track of indentation level and only replace a keyword when some conditions are met. `Source code `_ .. automodule:: ideas.examples.nobreak