Home
last modified time | relevance | path

Searched refs:NullImporter (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython2/Lib/
Drunpy.py219 importer = imp.NullImporter(path_name)
248 if isinstance(importer, imp.NullImporter):
/external/python/cpython2/Doc/library/
Dimp.rst264 .. class:: NullImporter(path_string)
266 The :class:`NullImporter` type is a :pep:`302` import hook that handles
269 Otherwise, a :class:`NullImporter` instance is returned.
276 .. method:: NullImporter.find_module(fullname [, path])
Dsys.rst725 is not an existing path then :class:`imp.NullImporter` is set.
/external/python/cpython2/Python/
Dimport.c3329 } NullImporter; typedef
3332 NullImporter_init(NullImporter *self, PyObject *args, PyObject *kwds) in NullImporter_init()
3359 NullImporter_find_module(NullImporter *self, PyObject *args) in NullImporter_find_module()
3375 sizeof(NullImporter), /*tp_basicsize*/
/external/python/cpython2/Lib/test/
Dtest_sys.py810 check(imp.NullImporter(f.name), size(''))
/external/python/cpython2/Misc/
DHISTORY197 with PEP 302. This was fixed by adding an ``imp.NullImporter`` type that is