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

Function EncodedFile

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

Return a wrapped version of file which provides transparent encoding translation. Data written to the wrapped file is decoded according to the given data_encoding and then encoded to the underlying file using file_encoding. The intermediate data type will us

(file, data_encoding, file_encoding=None, errors='strict')

Source from the content-addressed store, hash-verified

Callers

nothing calls this directly

Calls 2

StreamRecoderClass · 0.70
lookupFunction · 0.50

Tested by

no test coverage detected