Lines Matching refs:fn
154 for fn in filenames:
155 modname = inspect.getmodulename(fn)
159 path = os.path.join(importer.path, fn)
162 if not modname and os.path.isdir(path) and '.' not in fn:
163 modname = fn
169 for fn in dircontents:
170 subname = inspect.getmodulename(fn)
237 for fn in filenames:
238 modname = inspect.getmodulename(fn)
242 path = os.path.join(self.path, fn)
245 if not modname and os.path.isdir(path) and '.' not in fn:
246 modname = fn
252 for fn in dircontents:
253 subname = inspect.getmodulename(fn)
374 for fn in dirlist:
375 if not fn.startswith(_prefix):
378 fn = fn[plen:].split(os.sep)
380 if len(fn)==2 and fn[1].startswith('__init__.py'):
381 if fn[0] not in yielded:
382 yielded[fn[0]] = 1
383 yield prefix + fn[0], True
385 if len(fn)!=1:
388 modname = inspect.getmodulename(fn[0])