MCPcopy 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_opsMethod · 0.45
read_opsMethod · 0.45
large_file_opsMethod · 0.45
do_testMethod · 0.45
test_read_closedMethod · 0.45
_seekabsMethod · 0.45
_seekrelMethod · 0.45
test_write_and_rewindMethod · 0.45
test_seek_and_tellMethod · 0.45
check_flush_and_readMethod · 0.45
_peekMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected