[Python-checkins] r79529 - python/trunk/Lib/pydoc.py
brian.curtin
python-checkins at python.org
Wed Mar 31 19:36:09 CEST 2010
Author: brian.curtin
Date: Wed Mar 31 19:36:09 2010
New Revision: 79529
Log:
Correct what was intended to be a single-tuple to just be a != check.
Thanks to Éric Araujo for noticing that.
Modified:
python/trunk/Lib/pydoc.py
Modified: python/trunk/Lib/pydoc.py
==============================================================================
--- python/trunk/Lib/pydoc.py (original)
+++ python/trunk/Lib/pydoc.py Wed Mar 31 19:36:09 2010
@@ -357,7 +357,7 @@
'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:
More information about the Python-checkins
mailing list