def AppendFchunk(funcea, ea1, ea2):
    func = idaapi.get_func(funcea)

    if not func:
        return 0
    else:
        return idaapi.append_func_tail(func, ea1, ea2)
Append a function chunk to the function
dataset/ETHPy150Open EiNSTeiN-/idapython/python/idc.py/AppendFchunk