PageRenderTime 20ms CodeModel.GetById 16ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/Lib/test/pydoc_mod.py

http://unladen-swallow.googlecode.com/
Python | 27 lines | 14 code | 5 blank | 8 comment | 0 complexity | a62f9533ea94308bf7877b57d65e17bd MD5 | raw file
 1"""This is a test module for test_pydoc"""
 2
 3__author__ = "Benjamin Peterson"
 4__credits__ = "Nobody"
 5__version__ = "1.2.3.4"
 6
 7
 8class A:
 9    """Hello and goodbye"""
10    def __init__():
11        """Wow, I have no function!"""
12        pass
13
14class B(object):
15    NO_MEANING = "eggs"
16    pass
17
18def doc_func():
19    """
20    This function solves all of the world's problems:
21    hunger
22    lack of Python
23    war
24    """
25
26def nodoc_func():
27    pass