symbian-qemu-0.9.1-12/python-2.6.1/Lib/test/pydoc_mod.py
changeset 1 2fb8b9db1c86
equal deleted inserted replaced
0:ffa851df0825 1:2fb8b9db1c86
       
     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 
       
     8 class A:
       
     9     """Hello and goodbye"""
       
    10     def __init__():
       
    11         """Wow, I have no function!"""
       
    12         pass
       
    13 
       
    14 class B(object):
       
    15     NO_MEANING = "eggs"
       
    16     pass
       
    17 
       
    18 def doc_func():
       
    19     """
       
    20     This function solves all of the world's problems:
       
    21     hunger
       
    22     lack of Python
       
    23     war
       
    24     """
       
    25 
       
    26 def nodoc_func():
       
    27     pass