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

Method encode

Lib/encodings/oem.py:18–19  ·  view source on GitHub ↗
(self, input, final=False)

Source from the content-addressed store, hash-verified

16
17class IncrementalEncoder(codecs.IncrementalEncoder):
18 def encode(self, input, final=False):
19 return oem_encode(input, self.errors)[0]
20
21class IncrementalDecoder(codecs.BufferedIncrementalDecoder):
22 _buffer_decode = oem_decode

Callers

nothing calls this directly

Calls 1

oem_encodeFunction · 0.90

Tested by

no test coverage detected