def block_iter(l, nblocks=2):
    blocksize = int(math.ceil(len(l) / float(nblocks)))
    i = 0
    while i < len(l):
        yield l[i:i+blocksize]
        i += blocksize
Returns a string representation of this dispatcher.
dataset/ETHPy150Open sirrice/dbtruck/dbtruck/util.py/block_iter--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/tools/dev_appserver.py/LocalCGIDispatcher.__str__