def transpose(matlist, K):
    return [list(a) for a in (zip(*matlist))]
Parses a patch from a list of lines.
dataset/ETHPy150Open sympy/sympy/sympy/matrices/densetools.py/transpose--crossover with--dataset/ETHPy150Open rietveld-codereview/rietveld/codereview/patching.py/ParsePatchToLines