.. 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 <https://github.com/aroberge/ideas/blob/master/src/ideas/included/nobreak.py>`_

.. automodule:: ideas.included.nobreak
