From fe4900c0bc477479b24c5bb374984d6a873a3db7 Mon Sep 17 00:00:00 2001 From: Brian Curtin Date: Wed, 31 Mar 2010 17:36:09 +0000 Subject: =?UTF-8?q?Correct=20what=20was=20intended=20to=20be=20a=20single-?= =?UTF-8?q?tuple=20to=20just=20be=20a=20!=3D=20check.=20Thanks=20to=20?= =?UTF-8?q?=C3=89ric=20Araujo=20for=20noticing=20that.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Lib/pydoc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/pydoc.py b/Lib/pydoc.py index 2c954de..13b4904 100755 --- a/Lib/pydoc.py +++ b/Lib/pydoc.py @@ -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: -- cgit v0.12