mirror of
https://github.com/python/cpython.git
synced 2025-08-29 13:15:11 +00:00
Whitespace normalization.
This commit is contained in:
parent
8de0c1716b
commit
85ba673b0a
6 changed files with 11 additions and 12 deletions
|
@ -445,7 +445,7 @@ class HTMLDoc(Doc):
|
|||
modpkgs.append((modname, name, 0, 0))
|
||||
modnames.append(modname)
|
||||
elif ispackage(path):
|
||||
modpkgs.append((file, name, 1, 0))
|
||||
modpkgs.append((file, name, 1, 0))
|
||||
modpkgs.sort()
|
||||
contents = self.multicolumn(modpkgs, self.modpkglink)
|
||||
result = result + self.bigsection(
|
||||
|
@ -576,7 +576,7 @@ class HTMLDoc(Doc):
|
|||
if ispackage(path): found(file, 1)
|
||||
for file in files:
|
||||
path = os.path.join(dir, file)
|
||||
if file[:1] != '_' and os.path.isfile(path):
|
||||
if file[:1] != '_' and os.path.isfile(path):
|
||||
modname = modulename(file)
|
||||
if modname: found(modname, 0)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue