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

Method get_data

Lib/test/test_importlib/test_abc.py:553–559  ·  view source on GitHub ↗
(self, path)

Source from the content-addressed store, hash-verified

551 self.written = {}
552
553 def get_data(self, path):
554 if path == self.path:
555 return super().get_data(path)
556 elif path == self.bytecode_path:
557 return self.bytecode
558 else:
559 raise OSError
560
561 def path_stats(self, path):
562 if path != self.path:

Callers 7

get_sourceMethod · 0.95
get_codeMethod · 0.95
_testGetDataMethod · 0.45
get_dataMethod · 0.45
test_get_dataMethod · 0.45
test_no_bytecodeMethod · 0.45

Calls 1

superClass · 0.85

Tested by

no test coverage detected