2008-05-18 13:32:48 -03:00
|
|
|
"""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
|
|
|
|
|
2014-06-07 20:44:00 -03:00
|
|
|
class C(object):
|
|
|
|
def say_no(self):
|
|
|
|
return "no"
|
|
|
|
def get_answer(self):
|
|
|
|
""" Return say_no() """
|
|
|
|
return self.say_no()
|
|
|
|
def is_it_true(self):
|
|
|
|
""" Return self.get_answer() """
|
|
|
|
return self.get_answer()
|
|
|
|
|
2008-05-18 13:32:48 -03:00
|
|
|
def doc_func():
|
|
|
|
"""
|
|
|
|
This function solves all of the world's problems:
|
|
|
|
hunger
|
|
|
|
lack of Python
|
|
|
|
war
|
|
|
|
"""
|
|
|
|
|
|
|
|
def nodoc_func():
|
|
|
|
pass
|