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

Method pos

Lib/re/_parser.py:291–292  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

289 return result
290 @property
291 def pos(self):
292 return self.index - len(self.next or '')
293 def tell(self):
294 return self.index - len(self.next or '')
295 def seek(self, index):

Callers 9

test_posMethod · 0.45
test_positionsMethod · 0.45
test_setx_and_setyMethod · 0.45
test_homeMethod · 0.45
test_posMethod · 0.45
_close_gap_from_iMethod · 0.45
_open_gap_from_iMethod · 0.45
accMethod · 0.45
stepMethod · 0.45

Calls

no outgoing calls

Tested by 5

test_posMethod · 0.36
test_positionsMethod · 0.36
test_setx_and_setyMethod · 0.36
test_homeMethod · 0.36
test_posMethod · 0.36