Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: c251607d591ad8c0f117eb5e6118027c4ae1e8c6 authored by Benjamin Peterson on 08 May 2010, 17:08:17 UTC
bump version to 2.7 beta 2
Tip revision: c251607
pydoc_mod.py
"""This is a test module for test_pydoc"""

__author__ = "Benjamin Peterson"
__credits__ = "Nobody"
__version__ = "1.2.3.4"


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