Lines Matching refs:fn
204 for fn in filenames:
205 modname = inspect.getmodulename(fn)
209 path = os.path.join(self.path, fn)
212 if not modname and os.path.isdir(path) and '.' not in fn:
213 modname = fn
219 for fn in dircontents:
220 subname = inspect.getmodulename(fn)
338 for fn in dirlist:
339 if not fn.startswith(_prefix):
342 fn = fn[plen:].split(os.sep)
344 if len(fn)==2 and fn[1].startswith('__init__.py'):
345 if fn[0] not in yielded:
346 yielded[fn[0]] = 1
347 yield fn[0], True
349 if len(fn)!=1:
352 modname = inspect.getmodulename(fn[0])