def find_sublist_index(sublist, patterns_list):
    """
    find the list indices of functions matching the list of patterns
    :param sublist: SubList
    :type sublist: List
    :param patterns_list: List of Patterns
    :type patterns_list: List
    :return: Tuple positions
    :rtype: List
    """
    results = []
    sl_len = len(sublist)
    for ind in (i for i, e in enumerate(patterns_list) if e == sublist[0]):
        if patterns_list[ind:ind + sl_len] == sublist:
            results.append((ind, ind + sl_len - 1))

    # return a list of tuple positions 
    return results