Home | History | Annotate | Download | only in python2.7

Lines Matching refs:parts

89         parts = fqname.split('.')
96 module = parent.__importer__._do_import(parent, parts, fromlist)
102 top_module = sys.modules[parts[0]]
106 top_module = self._import_top_module(parts[0])
112 if len(parts) == 1:
128 # In both cases, since len(parts) == 1, the top_module is also
135 return importer._finish_import(top_module, parts[1:], fromlist)
138 if len(parts) == 2 and hasattr(top_module, parts[1]):
140 return getattr(top_module, parts[1])
228 def _finish_import(self, top, parts, fromlist):
231 bottom = self._load_tail(top, parts)
321 def _load_tail(self, m, parts):
326 for part in parts:
351 def _do_import(self, parent, parts, fromlist):
357 top_name = parts[0]
364 return self._finish_import(top_module, parts[1:], fromlist)