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

Method tell

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

Source from the content-addressed store, hash-verified

1198 return written
1199
1200 def tell(self):
1201 # GH-95782: Keep return value non-negative
1202 return max(_BufferedIOMixin.tell(self) - len(self._read_buf) + self._read_pos, 0)
1203
1204 def seek(self, pos, whence=0):
1205 if whence not in valid_seek_flags:

Callers

nothing calls this directly

Calls 3

maxFunction · 0.85
lenFunction · 0.85
tellMethod · 0.45

Tested by

no test coverage detected