[Python-checkins] r79543 - python/trunk/Lib/pydoc.py
brian.curtin
python-checkins at python.org
Thu Apr 1 06:02:00 CEST 2010
Author: brian.curtin
Date: Thu Apr 1 06:02:00 2010
New Revision: 79543
Log:
Fix a test_pydoc failure on Neal Norwitz's buildbot.
Modified:
python/trunk/Lib/pydoc.py
Modified: python/trunk/Lib/pydoc.py
==============================================================================
--- python/trunk/Lib/pydoc.py (original)
+++ python/trunk/Lib/pydoc.py Thu Apr 1 06:02:00 2010
@@ -357,7 +357,7 @@
'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:
More information about the Python-checkins
mailing list