..
  NOTE: This RST file was generated by `make examples`.
  Do not edit it directly.
  See docs/source/examples/example_doc_generator.py

.. _ex-static_type_checking:

Static Type Checking Example
===============================================================================

Demonstration of the interaction between static and dynamic type validation.

.. TIP:: To see this example in action, download it from
 :download:`static_type_checking <../../../examples/typehints/static_type_checking.py>`
 and run::

   $ python static_type_checking.py

Example Atom Code
-------------------------------------------------------------------------------
.. literalinclude:: ../../../examples/typehints/static_type_checking.py
    :language: python
