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

Method _get_encoder

Lib/_pyio.py:2294–2297  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2292 return length
2293
2294 def _get_encoder(self):
2295 make_encoder = codecs.getincrementalencoder(self._encoding)
2296 self._encoder = make_encoder(self._errors)
2297 return self._encoder
2298
2299 def _get_decoder(self):
2300 make_decoder = codecs.getincrementaldecoder(self._encoding)

Callers 3

_configureMethod · 0.95
writeMethod · 0.95
_reset_encoderMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected