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

Lib/pydoc.py

index 62ca3b0d3587c1037cafbfef3d81f07b009290e8..50b06904a8759777c93dcc0a1b9f4fd4d3e7bfe6 100755 (executable)
@@ -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: