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

Method read

crates/vm/Lib/core_modules/codecs.py:457–535  ·  view source on GitHub ↗

Decodes data from the stream self.stream and returns the resulting object. chars indicates the number of decoded code points or bytes to return. read() will never return more data than requested, but it might return less, if there is not enough avail

(self, size=-1, chars=-1, firstline=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 8

readlineMethod · 0.95
readlinesMethod · 0.95
_get_sourceMethod · 0.45
readMethod · 0.45
readMethod · 0.45
readlinesMethod · 0.45
get_dataMethod · 0.45
create_moduleMethod · 0.45

Calls 4

decodeMethod · 0.95
lenFunction · 0.85
joinMethod · 0.45
splitlinesMethod · 0.45

Tested by

no test coverage detected