]> granicus.if.org Git - python/commitdiff
Merged revisions 79529 via svnmerge from
authorBrian Curtin <brian.curtin@gmail.com>
Wed, 31 Mar 2010 17:43:52 +0000 (17:43 +0000)
committerBrian Curtin <brian.curtin@gmail.com>
Wed, 31 Mar 2010 17:43:52 +0000 (17:43 +0000)
svn+ssh://pythondev@svn.python.org/python/trunk

Lib/pydoc.py

index 03c0d09a2e26d24c2c17060c306110f981ed5329..2314f275f288a3b9d7381a1f88bf1cd30ebd977d 100755 (executable)
@@ -357,7 +357,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: