diff options
Diffstat (limited to 'Lib/pydoc.py')
-rwxr-xr-x | Lib/pydoc.py | 4 |
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() - - |