summaryrefslogtreecommitdiffstats
path: root/Lib/pydoc.py
diff options
context:
space:
mode:
authorBrian Curtin <brian.curtin@gmail.com>2010-03-31 17:36:09 (GMT)
committerBrian Curtin <brian.curtin@gmail.com>2010-03-31 17:36:09 (GMT)
commitfe4900c0bc477479b24c5bb374984d6a873a3db7 (patch)
treeec895de0b527e739854d6ae208995000f7b6e7d4 /Lib/pydoc.py
parentfcc500ebc4a6d93a2d610666aa37ece2663b8e22 (diff)
downloadcpython-fe4900c0bc477479b24c5bb374984d6a873a3db7.zip
cpython-fe4900c0bc477479b24c5bb374984d6a873a3db7.tar.gz
cpython-fe4900c0bc477479b24c5bb374984d6a873a3db7.tar.bz2
Correct what was intended to be a single-tuple to just be a != check.
Thanks to Éric Araujo for noticing that.
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 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: