Home | History | Annotate | Download | only in python2.7

Lines Matching full:none

25         return None
59 def register(typ, func=None):
60 if func is None:
71 def walk_packages(path=None, prefix='', onerror=None):
73 on path, or, if path is None, all accessible modules.
75 'path' should be either None or a list of paths to look for
112 if onerror is not None:
115 if onerror is not None:
120 path = getattr(sys.modules[name], '__path__', None) or []
129 def iter_modules(path=None, prefix=''):
131 or, if path is None, all top-level modules on sys.path.
133 'path' should be either None or a list of paths to look for
140 if path is None:
166 directory. ImpImporter(None) produces a PEP 302 importer that searches
173 def __init__(self, path=None):
176 def find_module(self, fullname, path=None):
179 if subname != fullname and self.path is None:
180 return None
181 if self.path is None:
182 path = None
188 return None
192 if self.path is None or not os.path.isdir(self.path):
235 code = source = None
266 if fullname is None:
277 def get_code(self, fullname=None):
279 if self.code is None:
294 def get_source(self, fullname=None):
296 if self.source is None:
317 def get_filename(self, fullname=None):
324 return None
374 the importer cache (None is inserted instead).
389 importer = None
392 if importer is None:
396 importer = None
431 path = getattr(sys.modules[pkg], '__path__', None) or []
446 is returned. Returns None if the module cannot be found or imported.
458 loader = getattr(module, '__loader__', None)
459 if loader is not None:
470 Returns None if the module cannot be found or imported. This function uses
476 if loader is not None:
479 return None
575 which does not support get_data(), then None is returned.
579 if loader is None or not hasattr(loader, 'get_data'):
580 return None
582 if mod is None or not hasattr(mod, '__file__'):
583 return None