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

Method seek

Lib/test/test_io/utils.py:115–116  ·  view source on GitHub ↗
(self, pos, whence)

Source from the content-addressed store, hash-verified

113 return super().read(n) * 2
114
115 def seek(self, pos, whence):
116 return -123
117
118 def tell(self):
119 return -456

Callers 15

get_code_from_pycFunction · 0.45
test_old_timestampMethod · 0.45
barMethod · 0.45
test_seek_tellMethod · 0.45
test_read_after_seekMethod · 0.45
test_seek_tellMethod · 0.45
test_source_synopsisMethod · 0.45

Calls

no outgoing calls

Tested by 15

test_old_timestampMethod · 0.36
barMethod · 0.36
test_seek_tellMethod · 0.36
test_read_after_seekMethod · 0.36
test_seek_tellMethod · 0.36
test_source_synopsisMethod · 0.36
run_cliMethod · 0.36