docstrings for python code code example
Example 1: python best docstring format
"""
This is an example of Google style.
Args:
param1: This is the first param.
param2: This is a second param.
Returns:
This is a description of what is returned.
Raises:
KeyError: Raises an exception.
"""
Example 2: python function docstring
def functionName():
"""
This is a function docstring
"""