1
0
forked from VimPlug/jedi

move Script.pos to Script._pos

This commit is contained in:
David Halter
2013-08-18 19:28:34 +04:30
parent 5cec226d7e
commit ef2d99358f
2 changed files with 15 additions and 15 deletions

View File

@@ -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: