Lines Matching refs:suffix
1248 return any(file_name == '__init__' + suffix
1249 for suffix in EXTENSION_SUFFIXES)
1565 loaders.extend((suffix, loader) for suffix in suffixes)
1628 for suffix, loader_class in self._loaders:
1629 init_filename = '__init__' + suffix
1637 # Check for a file w/ a proper suffix exists.
1638 for suffix, loader_class in self._loaders:
1640 full_path = _path_join(self.path, tail_module + suffix)
1644 if cache_module + suffix in cache:
1670 # suffixes (for legacy reasons). Make the suffix lowercase here
1676 name, dot, suffix = item.partition('.')
1678 new_name = '{}.{}'.format(name, suffix.lower())