human
I wrote the below code

    def pfunc(count, total):
        qprogress(('Reading    indexes:    %.2f%%    (%d/%d)\r' % (((count * 100.0) / total), count, total)))
    def pfinal(count, total):
        if final_progress:
            progress(('Reading    indexes:    %.2f%%    (%d/%d),    done.\n' % (100, total, total)))
    return merge_iter(idxlist, 10024, pfunc, pfinal)

What's a good function header?
 ... Here's a good function header?
assistant
#Here's a good function header.

def idxmerge(idxlist, final_progress=True):