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

Method encode

Lib/test/testcodec.py:14–16  ·  view source on GitHub ↗
(self,input,errors='strict')

Source from the content-addressed store, hash-verified

12class Codec(codecs.Codec):
13
14 def encode(self,input,errors='strict'):
15
16 return codecs.charmap_encode(input,errors,encoding_map)
17
18 def decode(self,input,errors='strict'):
19

Callers 15

testFunction · 0.45
test_chunkcodingMethod · 0.45
test_null_terminatorMethod · 0.45
_testpointMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected