summaryrefslogtreecommitdiffstats
path: root/Lib/test/pydoc_mod.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/pydoc_mod.py')
-rw-r--r--Lib/test/pydoc_mod.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/Lib/test/pydoc_mod.py b/Lib/test/pydoc_mod.py
index f86b5c6..cda1c9e 100644
--- a/Lib/test/pydoc_mod.py
+++ b/Lib/test/pydoc_mod.py
@@ -15,6 +15,16 @@ class B(object):
NO_MEANING = "eggs"
pass
+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()
+
def doc_func():
"""
This function solves all of the world's problems: