I'm porting code from Python 2.7 to 3. 2to3 does not convert the following lines and can't seem to figure it out. Any help is appreciated.
subpaths.sort(
lambda x, y :
int(pyx.unit.tocm(x.arclen() - y.arclen()) /
math.fabs(pyx.unit.tocm(x.arclen() - y.arclen()))) )
subpathsis and whatxandyare, it's impossible to answer this question.