diff options
author | Georg Brandl <georg@python.org> | 2008-01-21 21:05:49 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-01-21 21:05:49 (GMT) |
commit | f2dae0e14a79df11135fea05c20f66bcada51c06 (patch) | |
tree | 60195322754238c749b0476c3f797cd1904011a4 /Lib/test | |
parent | dd76e05dd91dbf948a5bf6561b7f5a8f2dfbbebe (diff) | |
download | cpython-f2dae0e14a79df11135fea05c20f66bcada51c06.zip cpython-f2dae0e14a79df11135fea05c20f66bcada51c06.tar.gz cpython-f2dae0e14a79df11135fea05c20f66bcada51c06.tar.bz2 |
#1715: include sub-extension modules in pydoc text output.
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/pydocfodder.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/test/pydocfodder.py b/Lib/test/pydocfodder.py index becdf22..2cf1cbd 100644 --- a/Lib/test/pydocfodder.py +++ b/Lib/test/pydocfodder.py @@ -1,5 +1,7 @@ """Something just to look at via pydoc.""" +import types + class A_classic: "A classic class." def A_method(self): @@ -208,3 +210,7 @@ class FunkyProperties(object): del inst.desc[self.attr] x = property(get_desc('x'), set_desc('x'), del_desc('x'), 'prop x') + + +submodule = types.ModuleType(__name__ + '.submodule', + """A submodule, which should appear in its parent's summary""") |