Source code for documenting.docstrings_sample_routine
[docs]def sample_routine(arg1, arg2, kwarg1="foo", kwarg2=None):
"""
Purpose section text goes here.
Description section longer text goes here.
Args:
* arg1 (numpy.ndarray):
First argument description.
* arg2 (numpy.ndarray):
Second argument description.
Kwargs:
* kwarg1 (string):
The first keyword argument. This argument description
can be multi-lined.
* kwarg2 (Boolean or None):
The second keyword argument.
Returns:
numpy.ndarray of arg1 * arg2
"""
pass