Source code for python_tooling_example.example_module
"""This is an example module designed to demonstrate the convenenience of
including documentation inline in your code."""
[docs]def add_2(a):
"""add integer two to a number
Parameters
----------
a : float
the number that needs to be added to
Returns
-------
a+2 : float
the result
Notes
-----
Uses the built-in "+" operator
"""
return a + 2