mirror of
https://github.com/python/cpython.git
synced 2025-09-16 13:47:31 +00:00
Correct what was intended to be a single-tuple to just be a != check.
Thanks to Éric Araujo for noticing that.
This commit is contained in:
parent
fcc500ebc4
commit
fe4900c0bc
1 changed files with 1 additions and 1 deletions
|
@ -357,7 +357,7 @@ class Doc:
|
||||||
'thread', 'zipimport') or
|
'thread', 'zipimport') or
|
||||||
(file.startswith(basedir) and
|
(file.startswith(basedir) and
|
||||||
not file.startswith(os.path.join(basedir, 'site-packages')))) 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://"):
|
if docloc.startswith("http://"):
|
||||||
docloc = "%s/%s" % (docloc.rstrip("/"), object.__name__)
|
docloc = "%s/%s" % (docloc.rstrip("/"), object.__name__)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue