.. index::
   single: cookbook
   
.. _traverse_defs:
   
How can I traverse the definition in Python?
---------------------------------------------

.. literalinclude:: src/traverse_defs.py
   :language: python
