Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_data
Function · 0.45
_load_testfile
Function · 0.45
compile
Function · 0.45
Calls
2
open
Function · 0.70
read
Method · 0.45
Tested by
1
_load_testfile
Function · 0.36