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

Method _rewind_decoded_chars

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

Rewind the _decoded_chars buffer.

(self, n)

Source from the content-addressed store, hash-verified

2308 return locale.getencoding()
2309
2310 def _rewind_decoded_chars(self, n):
2311 """Rewind the _decoded_chars buffer."""
2312 if self._decoded_chars_used < n:
2313 raise AssertionError("rewind decoded_chars out of bounds")
2314 self._decoded_chars_used -= n
2315
2316 def _read_chunk(self):
2317 """

Callers 1

readlineMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected