again another fix for =
This commit is contained in:
1 parent
8e9047158e
commit
a8371d37be
2 files changed
+4
-1
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
@@ -23,6 +23,9 @@ r"".upper
|
||||
# strangely this didn't work, because the = is used for assignments
|
||||
#? ['upper']
|
||||
"=".upper
|
||||
a = "="
|
||||
#? ['upper']
|
||||
a.upper
|
||||
|
||||
|
||||
# -----------------
|
||||
|
||||
Reference in new issue
Block a user