Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: f125bf5f94ece89b42196ec08339a750e0eb3de6 authored by Georg Brandl on 04 March 2012, 15:26:19 UTC
Update copyright years and version name.
Tip revision: f125bf5
pydoc_mod.py
"""This is a test module for test_pydoc"""

__author__ = "Benjamin Peterson"
__credits__ = "Nobody"
__version__ = "1.2.3.4"
__xyz__ = "X, Y and Z"

class A:
    """Hello and goodbye"""
    def __init__():
        """Wow, I have no function!"""
        pass

class B(object):
    NO_MEANING = "eggs"
    pass

def doc_func():
    """
    This function solves all of the world's problems:
    hunger
    lack of Python
    war
    """

def nodoc_func():
    pass
back to top