]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
remove duplication in test module
authorBenjamin Peterson <benjamin@python.org>
Mon, 26 May 2008 21:44:26 +0000 (21:44 +0000)
committerBenjamin Peterson <benjamin@python.org>
Mon, 26 May 2008 21:44:26 +0000 (21:44 +0000)
Lib/test/pydoc_mod.py

index 8601e3f7abb34c62fdf201f125bf913271621b70..9c53324a6d51e86d73452d67ba416829263fc878 100644 (file)
@@ -5,33 +5,6 @@ __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
-"""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__():