Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/
Drunpy.py219 importer = imp.NullImporter(path_name)
248 if isinstance(importer, imp.NullImporter):
/external/python/cpython3/Doc/library/
Dimp.rst359 .. class:: NullImporter(path_string)
361 The :class:`NullImporter` type is a :pep:`302` import hook that handles
364 Otherwise, a :class:`NullImporter` instance is returned.
368 .. method:: NullImporter.find_module(fullname [, path])
375 instance of :class:`NullImporter`.
Dsys.rst1101 ``None`` is stored instead of :class:`imp.NullImporter` when no finder
/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/cpython3/Lib/
Dimp.py114 class NullImporter: class
/external/python/cpython2/Python/
Dimport.c3351 } NullImporter; typedef
3354 NullImporter_init(NullImporter *self, PyObject *args, PyObject *kwds) in NullImporter_init()
3381 NullImporter_find_module(NullImporter *self, PyObject *args) in NullImporter_find_module()
3397 sizeof(NullImporter), /*tp_basicsize*/
/external/python/cpython3/Lib/test/
Dtest_imp.py452 self.assertRaises(ImportError, imp.NullImporter, name)
/external/python/cpython2/Lib/test/
Dtest_sys.py824 check(imp.NullImporter(f.name), size(''))
/external/python/cpython3/Doc/whatsnew/
D3.3.rst764 can be found on :attr:`sys.path_hooks`. Since :class:`imp.NullImporter` is not
2387 :class:`imp.NullImporter` to be backwards-compatible. This will lead to extra
/external/python/cpython3/Doc/reference/
Dimport.rst1060 :class:`imp.NullImporter` in the :data:`sys.path_importer_cache`. It
/external/python/cpython3/Misc/
DHISTORY7749 means imp.NullImporter is no longer implicitly used.
17581 with PEP 302. This was fixed by adding an ``imp.NullImporter`` type that is
/external/python/cpython2/Misc/
DHISTORY197 with PEP 302. This was fixed by adding an ``imp.NullImporter`` type that is