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

Method _get_encoder

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

Source from the content-addressed store, hash-verified

2268 return length
2269
2270 def _get_encoder(self):
2271 make_encoder = codecs.getincrementalencoder(self._encoding)
2272 self._encoder = make_encoder(self._errors)
2273 return self._encoder
2274
2275 def _get_decoder(self):
2276 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