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

Method encode

Lib/encodings/_win_cp_codecs.py:21–22  ·  view source on GitHub ↗
(self, input, errors='strict')

Source from the content-addressed store, hash-verified

19
20 class StreamWriter(codecs.StreamWriter):
21 def encode(self, input, errors='strict'):
22 return code_page_encode(cp, input, errors)
23
24 class StreamReader(codecs.StreamReader):
25 def decode(self, input, errors, final):

Callers

nothing calls this directly

Calls 1

code_page_encodeFunction · 0.90

Tested by

no test coverage detected