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

Method tell

Lib/gzip.py:275–278  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

273 self.offset = 0 # Current file offset for seek(), tell(), etc
274
275 def tell(self):
276 self._check_not_closed()
277 self._buffer.flush()
278 return super().tell()
279
280 def _write_gzip_header(self, compresslevel):
281 self.fileobj.write(b'\037\213') # magic header

Callers 1

Calls 3

superClass · 0.85
_check_not_closedMethod · 0.80
flushMethod · 0.45

Tested by 1