Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ tell
Method
tell
Lib/_pyio.py:994–997 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
992
return
self._pos
993
994
def
tell(self):
995
if
self.closed:
996
raise
ValueError(
"tell on closed file"
)
997
return
self._pos
998
999
def
truncate(self, pos=None):
1000
if
self.closed:
Callers
8
decompress
Function · 0.95
_safe_read
Method · 0.95
_testNonRegularFile
Method · 0.95
test_zstdfile_flush
Method · 0.95
test_zstdfile_flush_mode
Method · 0.95
test_is_tarfile_keeps_position
Method · 0.95
test_truncated_zipfile
Method · 0.95
test_is_zip_valid_file
Method · 0.95
Calls
no outgoing calls
Tested by
6
_testNonRegularFile
Method · 0.76
test_zstdfile_flush
Method · 0.76
test_zstdfile_flush_mode
Method · 0.76
test_is_tarfile_keeps_position
Method · 0.76
test_truncated_zipfile
Method · 0.76
test_is_zip_valid_file
Method · 0.76