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

Method setstate

Lib/_pyio.py:1994–1998  ·  view source on GitHub ↗
(self, state)

Source from the content-addressed store, hash-verified

1992 return buf, flag
1993
1994 def setstate(self, state):
1995 buf, flag = state
1996 self.pendingcr = bool(flag & 1)
1997 if self.decoder is not None:
1998 self.decoder.setstate((buf, flag >> 1))
1999
2000 def reset(self):
2001 self.seennl = 0

Callers 5

_configureMethod · 0.45
tellMethod · 0.45
_reset_encoderMethod · 0.45
seekMethod · 0.45
getvalueMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected