def fixthewronglymadelist(c):
    for topsublist in c:
        for i, L in enumerate(topsublist):
            topsublist[i] = list(L)
How to make a completely unshared copy of a complicated list? (Deep copy is not enough)