1
0
forked from VimPlug/jedi

once more: python 3.5 uses atom_expr node in many places where previous python would use power node

This commit is contained in:
Claude
2016-02-09 18:47:48 +01:00
parent 8819b2133a
commit bf5acb4c7a
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -448,7 +448,7 @@ def check_flow_information(evaluator, flow, search_name, pos):
def _check_isinstance_type(evaluator, element, search_name):
try:
assert element.type == 'power'
assert element.type == 'power' or element.type == 'atom_expr'
# this might be removed if we analyze and, etc
assert len(element.children) == 2
first, trailer = element.children