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

Method tell

Lib/_pyio.py:1219–1221  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1217 return written
1218
1219 def tell(self):
1220 # GH-95782: Keep return value non-negative
1221 return max(_BufferedIOMixin.tell(self) - len(self._read_buf) + self._read_pos, 0)
1222
1223 def seek(self, pos, whence=0):
1224 if whence not in valid_seek_flags:

Callers

nothing calls this directly

Calls 1

tellMethod · 0.45

Tested by

no test coverage detected