docstring python method code example
Example 1: python function docstring
def functionName():
"""
This is a function docstring
"""
Example 2: python get function docstring
help(functionName)
def functionName():
"""
This is a function docstring
"""
help(functionName)