Lines Matching refs:modname
158 modname = inspect.getmodulename(fn)
159 if modname=='__init__' or modname in yielded:
165 if not modname and os.path.isdir(path) and '.' not in fn:
166 modname = fn
180 if modname and '.' not in modname:
181 yielded[modname] = 1
182 yield prefix + modname, ispkg
242 modname = inspect.getmodulename(fn)
243 if modname=='__init__' or modname in yielded:
249 if not modname and os.path.isdir(path) and '.' not in fn:
250 modname = fn
264 if modname and '.' not in modname:
265 yielded[modname] = 1
266 yield prefix + modname, ispkg
393 modname = inspect.getmodulename(fn[0])
394 if modname=='__init__':
397 if modname and '.' not in modname and modname not in yielded:
398 yielded[modname] = 1
399 yield prefix + modname, False
697 modname = parts.pop(0)
699 mod = importlib.import_module(modname)
706 modname = s