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

Method _set_decoded_chars

Lib/_pyio.py:2310–2313  ·  view source on GitHub ↗

Set the _decoded_chars buffer.

(self, chars)

Source from the content-addressed store, hash-verified

2308 # Text returned from the decoder is buffered here until the client
2309 # requests it by calling our read() or readline() method.
2310 def _set_decoded_chars(self, chars):
2311 """Set the _decoded_chars buffer."""
2312 self._decoded_chars = chars
2313 self._decoded_chars_used = 0
2314
2315 def _get_decoded_chars(self, n=None):
2316 """Advance into the _decoded_chars buffer."""

Callers 5

writeMethod · 0.95
_read_chunkMethod · 0.95
seekMethod · 0.95
readMethod · 0.95
readlineMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected