(lines)
return calls
Given a list of lines, find all calls in this list.

    :param lines list[ast]:
    :rtype: list[Call]
Given a list of lines, find all calls in this list.
Given a list of lines find all calls in this list .
def make_calls(lines):
    """
    Given a list of lines, find all calls in this list.

    :param lines list[ast]:
    :rtype: list[Call]
    """

    calls = []
    for tree in lines:
        for element in ast.walk(tree):
            if type(element) != ast.Call:
                continue
            call = get_call_from_func_element(element.func)
            if call:
                calls.append(call)
    return calls
def make_calls ( lines ) : calls = [ ] for tree in lines : for element in ast . walk ( tree ) : if type ( element ) != ast . Call : continue call = get_call_from_func_element ( element . func ) if call : calls . append ( call ) return calls