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

Method tell

Lib/_pyio.py:363–365  ·  view source on GitHub ↗

Return an int indicating the current stream position.

(self)

Source from the content-addressed store, hash-verified

361 self._unsupported("seek")
362
363 def tell(self):
364 """Return an int indicating the current stream position."""
365 return self.seek(0, 1)
366
367 def truncate(self, pos=None):
368 """Truncate file to size bytes.

Callers 7

tellMethod · 0.45
tellMethod · 0.45
truncateMethod · 0.45
tellMethod · 0.45
tellMethod · 0.45
_configureMethod · 0.45
tellMethod · 0.45

Calls 1

seekMethod · 0.95

Tested by

no test coverage detected