Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

docstring in python

"""The module's docstring"""

class MyClass:
    """The class's docstring"""

    def my_method(self):
        """The method's docstring"""

def my_function():
    """The function's docstring"""
Source by en.wikipedia.org #
 
PREVIOUS NEXT
Tagged: #docstring #python
ADD COMMENT
Topic
Name
9+1 =