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

Method reset

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

Source from the content-addressed store, hash-verified

1998 self.decoder.setstate((buf, flag >> 1))
1999
2000 def reset(self):
2001 self.seennl = 0
2002 self.pendingcr = False
2003 if self.decoder is not None:
2004 self.decoder.reset()
2005
2006 _LF = 1
2007 _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