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

Method tell

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

Source from the content-addressed store, hash-verified

271 self.offset = 0 # Current file offset for seek(), tell(), etc
272
273 def tell(self):
274 self._check_not_closed()
275 self._buffer.flush()
276 return super().tell()
277
278 def _write_gzip_header(self, compresslevel):
279 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