Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ seek
Method
seek
Lib/re/_parser.py:295–297 ·
view source on GitHub ↗
(self, index)
Source
from the content-addressed store, hash-verified
293
def
tell(self):
294
return
self.index - len(self.next or
''
)
295
def
seek(self, index):
296
self.index = index
297
self.__next()
298
299
def
error(self, msg, offset=0):
300
if
not self.istext:
Callers
14
_sock_sendfile_native
Method · 0.45
_sock_sendfile_fallback
Method · 0.45
_sendfile_fallback
Method · 0.45
close
Method · 0.45
push
Method · 0.45
_restoreStdout
Method · 0.45
_parse
Function · 0.45
__getitem__
Method · 0.45
_addval
Method · 0.45
_setval
Method · 0.45
reorganize
Method · 0.45
gen_colors
Function · 0.45
Calls
1
__next
Method · 0.95
Tested by
no test coverage detected