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

Method tell

tools/python-3.11.9-amd64/Lib/zipfile.py:1136–1142  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1134 return self.tell()
1135
1136 def tell(self):
1137 if self.closed:
1138 raise ValueError("tell on closed file.")
1139 if not self._seekable:
1140 raise io.UnsupportedOperation("underlying stream is not seekable")
1141 filepos = self._orig_file_size - self._left - len(self._readbuffer) + self._offset
1142 return filepos
1143
1144
1145class _ZipWriteFile(io.BufferedIOBase):

Callers 1

seekMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected