summaryrefslogtreecommitdiffstats
path: root/Lib/pydoc.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-03-16 08:29:48 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-03-16 08:29:48 (GMT)
commit30edd2387d5d5c1a266956434ebaed59ccfb923f (patch)
tree216e794450d897bed9a4077ec5037d2d662081e4 /Lib/pydoc.py
parent4cf97c4972307f9187960c61f3c8cdd958d9520e (diff)
downloadcpython-30edd2387d5d5c1a266956434ebaed59ccfb923f.zip
cpython-30edd2387d5d5c1a266956434ebaed59ccfb923f.tar.gz
cpython-30edd2387d5d5c1a266956434ebaed59ccfb923f.tar.bz2
Whitespace normalization.
Diffstat (limited to 'Lib/pydoc.py')
-rwxr-xr-xLib/pydoc.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/pydoc.py b/Lib/pydoc.py
index 607458b..b64e78e 100755
--- a/Lib/pydoc.py
+++ b/Lib/pydoc.py
@@ -1032,7 +1032,7 @@ class ModuleScanner(Scanner):
children = []
for file in os.listdir(dir):
path = os.path.join(dir, file)
- if ispackage(path):
+ if ispackage(path):
children.append((path, package + (package and '.') + file))
else:
children.append((path, package))
@@ -1416,5 +1416,3 @@ def cli():
""" % (cmd, os.sep, cmd, cmd, cmd, cmd, os.sep)
if __name__ == '__main__': cli()
-
-