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

Method execute

Lib/test/test_importlib/resources/util.py:77–81  ·  view source on GitHub ↗

Call the pertinent legacy API function (e.g. open_text, path) on package and path.

(self, package, path)

Source from the content-addressed store, hash-verified

75
76 @abc.abstractmethod
77 def execute(self, package, path):
78 """
79 Call the pertinent legacy API function (e.g. open_text, path)
80 on package and path.
81 """
82
83 def test_package_name(self):
84 """

Callers 8

test_package_nameMethod · 0.95
test_package_objectMethod · 0.95
test_string_pathMethod · 0.95
test_pathlib_pathMethod · 0.95
test_missing_pathMethod · 0.95
test_extant_pathMethod · 0.95
test_useless_loaderMethod · 0.95

Calls

no outgoing calls

Tested by 8

test_package_nameMethod · 0.76
test_package_objectMethod · 0.76
test_string_pathMethod · 0.76
test_pathlib_pathMethod · 0.76
test_missing_pathMethod · 0.76
test_extant_pathMethod · 0.76
test_useless_loaderMethod · 0.76