mirror of
https://github.com/davidhalter/jedi.git
synced 2026-03-07 00:41:51 +08:00
start/end_pos refactored in parsing
This commit is contained in:
@@ -62,7 +62,7 @@ class NoErrorTokenizer(object):
|
||||
self.readline))
|
||||
self.current = self.next()
|
||||
c = list(self.current)
|
||||
c[2] += self.line_offset, 0
|
||||
c[2] = self.line_offset + c[2][0], c[2][1]
|
||||
return c
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user