Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ seek
Method
seek
Lib/test/test_io.py:169–170 ·
view source on GitHub ↗
(self, pos, whence)
Source
from the content-addressed store, hash-verified
167
return
super().read(n) * 2
168
169
def
seek(self, pos, whence):
170
return
-123
171
172
def
tell(self):
173
return
-456
Callers
15
write_ops
Method · 0.45
read_ops
Method · 0.45
large_file_ops
Method · 0.45
do_test
Method · 0.45
test_read_closed
Method · 0.45
test_seek_character_device_file
Method · 0.45
_seekabs
Method · 0.45
_seekrel
Method · 0.45
test_write_and_rewind
Method · 0.45
test_seek_and_tell
Method · 0.45
check_flush_and_read
Method · 0.45
_peek
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected