File: class/Extras/Other/PriorClasses/t2-vancouver-oct15/docstrings.py

# File: docstrings.py
"""
Module documentation
Words Go Here
"""

spam = 40

def square(x):
    """
    function documentation
    can we have your liver then?
    """
    return x ** 2
 

class SomeClass:  # see ahead
    """
    class docs go here, and can also
    be in nested method def statements
    """



[Home page] Books Code Blog Python Author Train Find ©M.Lutz