forked from VimPlug/jedi
remove get_set_vars completely from existance
This commit is contained in:
@@ -188,7 +188,7 @@ def inline(script):
|
||||
replace_str = '(%s)' % replace_str
|
||||
|
||||
# if it's the only assignment, remove the statement
|
||||
if len(stmt.get_set_vars()) == 1:
|
||||
if len(stmt.get_defined_names()) == 1:
|
||||
line = line[:stmt.start_pos[1]] + line[stmt.end_pos[1]:]
|
||||
|
||||
dct = _rename(inlines, replace_str)
|
||||
|
||||
Reference in New Issue
Block a user