1
0
forked from VimPlug/jedi

protect token_list -> _token_list

This commit is contained in:
Dave Halter
2014-03-04 12:32:34 +01:00
parent 7de4b14461
commit 65ce609a3c
5 changed files with 20 additions and 36 deletions

View File

@@ -364,7 +364,7 @@ def filter_private_variable(scope, call_scope, var_name):
def _evaluate_list_comprehension(lc, parent=None):
input = lc.input
nested_lc = lc.input.token_list[0]
nested_lc = input.expression_list()[0]
if isinstance(nested_lc, pr.ListComprehension):
# is nested LC
input = nested_lc.stmt