To write a docstring in Python:
"""
or '''
.Here's an example of a function with a docstring:
main.py251 chars16 lines
Note that the docstring is accessed via the __doc__
attribute of the function or module, so it's important to keep the docstring formatted consistently with the rest of the code.
gistlibby LogSnag