move Script.pos to Script._pos
This commit is contained in:
1 parent
5cec226d7e
commit
ef2d99358f
2 files changed
+15
-15
No files matched your search
+1
-1
@@ -112,7 +112,7 @@ def extract(script, new_name):
|
||||
# TODO care for multiline extracts
|
||||
dct = {}
|
||||
if user_stmt:
|
||||
pos = script.pos
|
||||
pos = script._pos
|
||||
line_index = pos[0] - 1
|
||||
arr, index = helpers.array_for_pos(user_stmt, pos)
|
||||
if arr is not None:
|
||||
|
||||
Reference in new issue
Block a user