forked from VimPlug/jedi
it should be possible to find the origin of an operation, if it's a faulty one (static analysis)
This commit is contained in:
@@ -157,7 +157,7 @@ class NameFinder(object):
|
||||
else:
|
||||
p = precedence.create_precedence(expression_list)
|
||||
if (isinstance(p, precedence.Precedence)
|
||||
and p.operator == 'is not'
|
||||
and p.operator.string == 'is not'
|
||||
and p.right.get_code() == 'None'
|
||||
and p.left.get_code() == unicode(self.name_str)):
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user