Searched refs:source_to_code (Results 1 – 9 of 9) sorted by relevance
/external/python/cpython3/Lib/importlib/ |
D | abc.py | 227 return self.source_to_code(source) 239 def source_to_code(data, path='<string>'): member in InspectLoader 282 return self.source_to_code(source) 284 return self.source_to_code(source, path)
|
D | _bootstrap_external.py | 785 def source_to_code(self, data, path, *, _optimize=-1): member in SourceLoader 860 code_object = self.source_to_code(source_bytes, source_path)
|
/external/python/cpython3/Lib/test/test_importlib/ |
D | test_abc.py | 488 code = loader.source_to_code(data) 490 code = loader.source_to_code(data, path) 512 code = loader.source_to_code('', path) 519 code = loader.source_to_code('') 819 code = self.loader.source_to_code(self.loader.source, self.path)
|
/external/python/cpython3/Lib/ |
D | py_compile.py | 142 code = loader.source_to_code(source_bytes, dfile or file,
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.5.rst | 1269 The :func:`abc.InspectLoader.source_to_code() <importlib.abc.InspectLoader.source_to_code>`
|
D | 3.4.rst | 984 :meth:`~importlib.abc.InspectLoader.source_to_code` that accepts source
|
/external/python/cpython3/Doc/library/ |
D | importlib.rst | 616 .. staticmethod:: source_to_code(data, path='<string>')
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.5.0a1.rst | 3665 importlib.abc.InspectLoader.source_to_code() is now a staticmethod.
|
/external/python/cpython3/Misc/ |
D | HISTORY | 5644 - Issue #15627: Add the importlib.abc.InspectLoader.source_to_code() method.
|