MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / rewind

Method rewind

tools/python-3.11.9-amd64/Lib/gzip.py:361–366  ·  view source on GitHub ↗

Return the uncompressed stream file position indicator to the beginning of the file

(self)

Source from the content-addressed store, hash-verified

359 return self.fileobj.fileno()
360
361 def rewind(self):
362 '''Return the uncompressed stream file position indicator to the
363 beginning of the file'''
364 if self.mode != READ:
365 raise OSError("Can't rewind in write mode")
366 self._buffer.seek(0)
367
368 def readable(self):
369 return self.mode == READ

Callers

nothing calls this directly

Calls 1

seekMethod · 0.45

Tested by

no test coverage detected