diff options
| author | Brian Curtin <brian.curtin@gmail.com> | 2010-03-31 17:36:09 (GMT) | 
|---|---|---|
| committer | Brian Curtin <brian.curtin@gmail.com> | 2010-03-31 17:36:09 (GMT) | 
| commit | fe4900c0bc477479b24c5bb374984d6a873a3db7 (patch) | |
| tree | ec895de0b527e739854d6ae208995000f7b6e7d4 /Lib/pydoc.py | |
| parent | fcc500ebc4a6d93a2d610666aa37ece2663b8e22 (diff) | |
| download | cpython-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-x | Lib/pydoc.py | 2 | 
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:  | 
