MCPcopy Index your code
hub / github.com/RustPython/RustPython / read_text

Method read_text

Lib/zipfile/_path/__init__.py:377–380  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

375 return pathlib.Path(self.root.filename).joinpath(self.at)
376
377 def read_text(self, *args, **kwargs):
378 encoding, args, kwargs = _extract_text_encoding(*args, **kwargs)
379 with self.open('r', encoding, *args, **kwargs) as strm:
380 return strm.read()
381
382 def read_bytes(self):
383 with self.open('rb') as strm:

Callers

nothing calls this directly

Calls 3

openMethod · 0.95
_extract_text_encodingFunction · 0.85
readMethod · 0.45

Tested by

no test coverage detected