From fe4900c0bc477479b24c5bb374984d6a873a3db7 Mon Sep 17 00:00:00 2001 From: Brian Curtin Date: Wed, 31 Mar 2010 17:36:09 +0000 Subject: [PATCH] =?UTF-8?q?Correct=20what=20was=20intended=20to=20be=20a?= =?UTF-8?q?=20single-tuple=20to=20just=20be=20a=20!=3D=20check.=20Thanks?= =?UTF-8?q?=20to=20=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 2c954de3b46..13b4904b25d 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: