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

Method encode

Lib/encodings/utf_8_sig.py:93–95  ·  view source on GitHub ↗
(self, input, errors='strict')

Source from the content-addressed store, hash-verified

91 pass
92
93 def encode(self, input, errors='strict'):
94 self.encode = codecs.utf_8_encode
95 return encode(input, errors)
96
97class StreamReader(codecs.StreamReader):
98 def reset(self):

Callers

nothing calls this directly

Calls 1

encodeFunction · 0.70

Tested by

no test coverage detected