To document individual functions in Python, use a docstring like this:
def example_function():
"""Performs xyz
More details here
"""
Discussed in answers here.
Articles, notes and random thoughts on Software Development and Technology
To document individual functions in Python, use a docstring like this:
def example_function():
"""Performs xyz
More details here
"""
Discussed in answers here.