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

Method get_data

Lib/test/test_pkgutil.py:368–369  ·  view source on GitHub ↗
(self, path)

Source from the content-addressed store, hash-verified

366 mod.__dict__['loads'] = mod.__dict__.get('loads', 0) + 1
367
368 def get_data(self, path):
369 return "Hello, world!"
370
371 class MyTestImporter(object):
372 def find_spec(self, fullname, path=None, target=None):

Callers 5

test_getdata_filesysMethod · 0.45
test_getdata_zipfileMethod · 0.45
test_getdata_pep302Method · 0.45
test_alreadyloadedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected