1
0
forked from VimPlug/jedi

Remove quite a bit of the old parser representation logic.

This commit is contained in:
Dave Halter
2014-11-23 19:26:30 +01:00
parent 0f21d38e2c
commit 9b54541cae
4 changed files with 9 additions and 236 deletions

View File

@@ -199,7 +199,8 @@ def search_call_signatures(user_stmt, position):
# Now remove the part after the call. Including the array from the
# statement.
stmt_el = call
while isinstance(stmt_el, pr.StatementElement):
# TODO REMOVE this? or change?
while False and isinstance(stmt_el, pr.StatementElement):
if stmt_el.next == arr:
stmt_el.next = None
break