summaryrefslogtreecommitdiffstats
path: root/Lib/pydoc.py
diff options
context:
space:
mode:
authorBrian Curtin <brian.curtin@gmail.com>2010-03-31 17:46:38 (GMT)
committerBrian Curtin <brian.curtin@gmail.com>2010-03-31 17:46:38 (GMT)
commitfd2bfb02db1a5b4d06b054ce578b565cca1fd085 (patch)
treef286a47fe5e79867344f194f03073079635054ed /Lib/pydoc.py
parent8f8db14bb0bdfafa869140841999eeb8eb3cec1c (diff)
downloadcpython-fd2bfb02db1a5b4d06b054ce578b565cca1fd085.zip
cpython-fd2bfb02db1a5b4d06b054ce578b565cca1fd085.tar.gz
cpython-fd2bfb02db1a5b4d06b054ce578b565cca1fd085.tar.bz2
Merged revisions 79529 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
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 62ca3b0..50b0690 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__ not in ('xml.etree')):
+ object.__name__ != 'xml.etree'):
if docloc.startswith("http://"):
docloc = "%s/%s" % (docloc.rstrip("/"), object.__name__)
else: