• Home
  • Raw
  • Download

Lines Matching refs:modname

199 def classname(object, modname):  argument
202 if object.__module__ != modname:
642 def classlink(self, object, modname): argument
647 module.__name__, name, classname(object, modname))
648 return classname(object, modname)
716 def formattree(self, tree, modname, parent=None): argument
723 result = result + self.classlink(c, modname)
727 parents.append(self.classlink(base, modname))
732 entry, modname, c)
787 key, modname = base.__name__, base.__module__
788 module = sys.modules.get(modname)
789 if modname != name and module and hasattr(module, key):
792 cdict[key] = cdict[base] = modname + '.html#' + key
813 for importer, modname, ispkg in pkgutil.iter_modules(object.__path__):
814 modpkgs.append((modname, name, ispkg, 0))
1183 def formattree(self, tree, modname, parent=None, prefix=''): argument
1189 result = result + prefix + classname(c, modname)
1191 parents = (classname(c, modname) for c in bases)
1196 entry, modname, c, prefix + ' ')
1241 for importer, modname, ispkg in pkgutil.iter_modules(object.__path__):
1242 modpkgs_names.add(modname)
1244 modpkgs.append(modname + ' (package)')
1246 modpkgs.append(modname)
1801 for importer, modname, ispkg in pkgutil.walk_packages([dir], pkgpath):
1802 writedoc(modname)
2194 def callback(path, modname, desc, modules=modules): argument
2195 if modname and modname[-9:] == '.__init__':
2196 modname = modname[:-9] + ' (package)'
2197 if modname.find('.') < 0:
2198 modules[modname] = 1
2199 def onerror(modname): argument
2200 callback(None, modname, None)
2218 for modname in sys.builtin_module_names:
2219 if modname != '__main__':
2220 seen[modname] = 1
2222 callback(None, modname, '')
2224 name = __import__(modname).__doc__ or ''
2226 name = modname + ' - ' + desc
2228 callback(None, modname, desc)
2230 for importer, modname, ispkg in pkgutil.walk_packages(onerror=onerror):
2235 callback(None, modname, '')
2238 spec = pkgutil._get_spec(importer, modname)
2245 source = loader.get_source(modname)
2248 onerror(modname)
2252 path = loader.get_filename(modname)
2260 onerror(modname)
2264 name = modname + ' - ' + desc
2266 callback(path, modname, desc)
2273 def callback(path, modname, desc): argument
2274 if modname[-9:] == '.__init__':
2275 modname = modname[:-9] + ' (package)'
2276 print(modname, desc and '- ' + desc)
2277 def onerror(modname): argument
2521 def callback(path, modname, desc): argument
2522 if modname[-9:] == '.__init__':
2523 modname = modname[:-9] + ' (package)'
2524 search_result.append((modname, desc and '- ' + desc))
2528 def onerror(modname): argument