MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / get_data

Method get_data

tools/python-3.11.9-amd64/Lib/pkgutil.py:295–297  ·  view source on GitHub ↗
(self, pathname)

Source from the content-addressed store, hash-verified

293 return mod
294
295 def get_data(self, pathname):
296 with open(pathname, "rb") as file:
297 return file.read()
298
299 def _reopen(self):
300 if self.file and self.file.closed:

Callers 3

get_dataFunction · 0.45
_load_testfileFunction · 0.45
compileFunction · 0.45

Calls 2

openFunction · 0.70
readMethod · 0.45

Tested by 1

_load_testfileFunction · 0.36