Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ read_text
Function
read_text
Programs/_freeze_module.py:18–20 ·
view source on GitHub ↗
(inpath: str)
Source
from the content-addressed store, hash-verified
16
17
18
def
read_text(inpath: str) -> bytes:
19
with
open(inpath,
"rb"
)
as
f:
20
return
f.read()
21
22
23
def
compile_and_marshal(name: str, text: bytes) -> bytes:
Callers
1
main
Function · 0.70
Calls
2
open
Function · 0.50
read
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…