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

Method seek

Lib/gzip.py:116–119  ·  view source on GitHub ↗
(self, off)

Source from the content-addressed store, hash-verified

114 self._read = 0
115
116 def seek(self, off):
117 self._read = None
118 self._buffer = None
119 return self.file.seek(off)
120
121 def seekable(self):
122 return True # Allows fast-forwarding even in unseekable streams

Callers

nothing calls this directly

Calls 1

seekMethod · 0.45

Tested by

no test coverage detected