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

Method encode

Lib/encodings/_win_cp_codecs.py:13–14  ·  view source on GitHub ↗
(self, input, final=False)

Source from the content-addressed store, hash-verified

11
12 class IncrementalEncoder(codecs.IncrementalEncoder):
13 def encode(self, input, final=False):
14 return code_page_encode(cp, input, self.errors)[0]
15
16 class IncrementalDecoder(codecs.BufferedIncrementalDecoder):
17 def _buffer_decode(self, input, errors, final):

Callers

nothing calls this directly

Calls 1

code_page_encodeFunction · 0.90

Tested by

no test coverage detected