MCPcopy Index your code
hub / github.com/python/cpython / encode

Method encode

Lib/test/test_capi/test_codecs.py:555–556  ·  view source on GitHub ↗
(self, input, errors='strict')

Source from the content-addressed store, hash-verified

553
554 class StreamReader(codecs.StreamReader):
555 def encode(self, input, errors='strict'):
556 return codec_encoder(input, errors=errors)
557
558 def decode(self, input, errors='strict'):
559 return codec_decoder(input, errors=errors)

Calls

no outgoing calls

Tested by

no test coverage detected