list.extend / set.update works now

This commit is contained in:
David Halter
2012-08-14 15:00:31 +02:00
parent 76e6b1f37c
commit 692b85cfb2
2 changed files with 9 additions and 4 deletions

View File

@@ -144,8 +144,8 @@ def _check_array_additions(compare_array, module, is_list):
else:
result += evaluate.follow_call_list([second_param])
elif add_name in ['extend', 'update']:
# TODO needs extensive work, because this are iterables
result += evaluate.follow_call_list(params)
iterators = evaluate.follow_call_list(params)
result += evaluate.handle_iterators(iterators)
return result
search_names = ['append', 'extend', 'insert'] if is_list else \