diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-01-14 23:47:14 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-01-14 23:47:14 (GMT) |
commit | 07e99cb77406e1bc84606f49b743e41b0de8a6d5 (patch) | |
tree | b922cda3a970bffa797269fd550f8d8b032afe5b /Lib/ihooks.py | |
parent | 88869f9787cd4ceb2298e4b13980beb057687824 (diff) | |
download | cpython-07e99cb77406e1bc84606f49b743e41b0de8a6d5.zip cpython-07e99cb77406e1bc84606f49b743e41b0de8a6d5.tar.gz cpython-07e99cb77406e1bc84606f49b743e41b0de8a6d5.tar.bz2 |
Whitespace normalization.
Diffstat (limited to 'Lib/ihooks.py')
-rw-r--r-- | Lib/ihooks.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/ihooks.py b/Lib/ihooks.py index 3f1984c..62760cb 100644 --- a/Lib/ihooks.py +++ b/Lib/ihooks.py @@ -109,7 +109,7 @@ class BasicModuleLoader(_Verbose): """ def find_module(self, name, path = None): - if path is None: + if path is None: path = [None] + self.default_path() for dir in path: stuff = self.find_module_in_dir(name, dir) @@ -390,7 +390,7 @@ class BasicModuleImporter(_Verbose): class ModuleImporter(BasicModuleImporter): """A module importer that supports packages.""" - + def import_module(self, name, globals=None, locals=None, fromlist=None): parent = self.determine_parent(globals) q, tail = self.find_head_package(parent, name) |