MCPcopy Index your code
hub / github.com/python/cpython / make_script

Method make_script

Lib/test/test_compileall.py:1005–1006  ·  view source on GitHub ↗
(self, code, name="script")

Source from the content-addressed store, hash-verified

1003 self.path = None
1004
1005 def make_script(self, code, name="script"):
1006 return script_helper.make_script(self.path, name, code)
1007
1008 def compile_dir(self, *, dedup=True, optimize=(0, 1, 2), force=False):
1009 compileall.compile_dir(self.path, quiet=True, optimize=optimize,

Callers 15

test_bad_argsMethod · 0.95
test_disabledMethod · 0.95
test_hardlinkMethod · 0.95
test_only_two_levelsMethod · 0.95
test_recompilationMethod · 0.95
test_importMethod · 0.95
_test_ddir_onlyMethod · 0.45
test_strip_onlyMethod · 0.45
test_prepend_onlyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected