Searched refs:NullImporter (Results 1 – 13 of 13) sorted by relevance
/external/python/cpython2/Lib/ |
D | runpy.py | 219 importer = imp.NullImporter(path_name) 248 if isinstance(importer, imp.NullImporter):
|
/external/python/cpython3/Doc/library/ |
D | imp.rst | 359 .. 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`.
|
D | sys.rst | 1101 ``None`` is stored instead of :class:`imp.NullImporter` when no finder
|
/external/python/cpython2/Doc/library/ |
D | imp.rst | 264 .. 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])
|
D | sys.rst | 725 is not an existing path then :class:`imp.NullImporter` is set.
|
/external/python/cpython3/Lib/ |
D | imp.py | 114 class NullImporter: class
|
/external/python/cpython3/Lib/test/ |
D | test_imp.py | 452 self.assertRaises(ImportError, imp.NullImporter, name)
|
/external/python/cpython2/Python/ |
D | import.c | 3351 } 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/cpython2/Lib/test/ |
D | test_sys.py | 824 check(imp.NullImporter(f.name), size(''))
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.3.rst | 764 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/ |
D | import.rst | 1060 :class:`imp.NullImporter` in the :data:`sys.path_importer_cache`. It
|
/external/python/cpython3/Misc/ |
D | HISTORY | 7749 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/ |
D | HISTORY | 197 with PEP 302. This was fixed by adding an ``imp.NullImporter`` type that is
|