1
0
forked from VimPlug/jedi

again another fix for =

This commit is contained in:
David Halter
2012-10-08 10:44:25 +02:00
parent 8e9047158e
commit a8371d37be
2 changed files with 4 additions and 1 deletions

View File

@@ -1508,7 +1508,7 @@ class PyFuzzyParser(object):
string += ' '
string += ".".join(n.names)
continue
elif '=' in tok and not tok in ['>=', '<=', '==', '!=']:
elif tok.endswith('=') and not tok in ['>=', '<=', '==', '!=']:
# there has been an assignement -> change vars
if level == 0:
set_vars = used_vars