MCPcopy 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
18def read_text(inpath: str) -> bytes:
19 with open(inpath, "rb") as f:
20 return f.read()
21
22
23def compile_and_marshal(name: str, text: bytes) -> bytes:

Callers 1

mainFunction · 0.70

Calls 2

openFunction · 0.50
readMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…