1"""This is a test module for test_pydoc""" 2 3__author__ = "Benjamin Peterson" 4__credits__ = "Nobody" 5__version__ = "1.2.3.4" 6__xyz__ = "X, Y and Z" 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: str = "eggs" 16 pass 17 18class C(object): 19 def say_no(self): 20 return "no" 21 def get_answer(self): 22 """ Return say_no() """ 23 return self.say_no() 24 def is_it_true(self): 25 """ Return self.get_answer() """ 26 return self.get_answer() 27 28def doc_func(): 29 """ 30 This function solves all of the world's problems: 31 hunger 32 lack of Python 33 war 34 """ 35 36def nodoc_func(): 37 pass 38