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

Method reset

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

Source from the content-addressed store, hash-verified

2022 self.decoder.setstate((buf, flag >> 1))
2023
2024 def reset(self):
2025 self.seennl = 0
2026 self.pendingcr = False
2027 if self.decoder is not None:
2028 self.decoder.reset()
2029
2030 _LF = 1
2031 _CR = 2

Callers 4

writeMethod · 0.45
_reset_encoderMethod · 0.45
seekMethod · 0.45
getvalueMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected