1
0
forked from VimPlug/jedi

finally able to remove stmt.set_vars property

This commit is contained in:
David Halter
2013-09-02 21:43:23 +04:30
parent 9565aa1431
commit 37ecf943af
4 changed files with 3 additions and 7 deletions

View File

@@ -405,7 +405,7 @@ class Parser(object):
with common.ignored(IndexError, AttributeError):
# If string literal is being parsed
first_tok = stmt.token_list[0]
if (not stmt.set_vars
if (not stmt.get_set_vars()
and not stmt.used_vars
and len(stmt.token_list) == 1
and first_tok[0] == tokenize.STRING):