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

Method _rewind_decoded_chars

Lib/_pyio.py:2334–2338  ·  view source on GitHub ↗

Rewind the _decoded_chars buffer.

(self, n)

Source from the content-addressed store, hash-verified

2332 return locale.getencoding()
2333
2334 def _rewind_decoded_chars(self, n):
2335 """Rewind the _decoded_chars buffer."""
2336 if self._decoded_chars_used < n:
2337 raise AssertionError("rewind decoded_chars out of bounds")
2338 self._decoded_chars_used -= n
2339
2340 def _read_chunk(self):
2341 """

Callers 1

readlineMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected