Home
last modified time | relevance | path

Searched refs:source_to_code (Results 1 – 9 of 9) sorted by relevance

/external/python/cpython3/Lib/importlib/
Dabc.py227 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.py785 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/
Dtest_abc.py488 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/
Dpy_compile.py142 code = loader.source_to_code(source_bytes, dfile or file,
/external/python/cpython3/Doc/whatsnew/
D3.5.rst1269 The :func:`abc.InspectLoader.source_to_code() <importlib.abc.InspectLoader.source_to_code>`
D3.4.rst984 :meth:`~importlib.abc.InspectLoader.source_to_code` that accepts source
/external/python/cpython3/Doc/library/
Dimportlib.rst616 .. staticmethod:: source_to_code(data, path='<string>')
/external/python/cpython3/Misc/NEWS.d/
D3.5.0a1.rst3665 importlib.abc.InspectLoader.source_to_code() is now a staticmethod.
/external/python/cpython3/Misc/
DHISTORY5644 - Issue #15627: Add the importlib.abc.InspectLoader.source_to_code() method.