summaryrefslogtreecommitdiffstats
path: root/Lib/pydoc.py
diff options
context:
space:
mode:
authorBrian Curtin <brian.curtin@gmail.com>2010-04-01 04:06:54 (GMT)
committerBrian Curtin <brian.curtin@gmail.com>2010-04-01 04:06:54 (GMT)
commit1f03f6e6911dc003f75b049ea0bf6dd390a2cc7f (patch)
treeda80c34c87b3d417cc6977c4b8e4c469b62723ff /Lib/pydoc.py
parenta94cbd8fad7bac6e80a473b3c4a91a6c94698f83 (diff)
downloadcpython-1f03f6e6911dc003f75b049ea0bf6dd390a2cc7f.zip
cpython-1f03f6e6911dc003f75b049ea0bf6dd390a2cc7f.tar.gz
cpython-1f03f6e6911dc003f75b049ea0bf6dd390a2cc7f.tar.bz2
Merged revisions 79545 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r79545 | brian.curtin | 2010-03-31 23:05:25 -0500 (Wed, 31 Mar 2010) | 9 lines Merged revisions 79543 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r79543 | brian.curtin | 2010-03-31 23:02:00 -0500 (Wed, 31 Mar 2010) | 2 lines Fix a test_pydoc failure on Neal Norwitz's buildbot. ........ ................
Diffstat (limited to 'Lib/pydoc.py')
-rwxr-xr-xLib/pydoc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pydoc.py b/Lib/pydoc.py
index 90dff04..3f2a5d8 100755
--- a/Lib/pydoc.py
+++ b/Lib/pydoc.py
@@ -350,7 +350,7 @@ class Doc:
'_thread', 'zipimport') or
(file.startswith(basedir) and
not file.startswith(os.path.join(basedir, 'site-packages')))) and
- object.__name__ != 'xml.etree'):
+ object.__name__ not in ('xml.etree', 'test.pydoc_mod')):
if docloc.startswith("http://"):
docloc = "%s/%s" % (docloc.rstrip("/"), object.__name__)
else: