20 Nov
2004
20 Nov
'04
2:53 a.m.
"Terry Reedy"
... return (i < 0) and (max - i) or i # only semi-tested because I don't have negatives to test and can't force
whoops, untested negative case should be max + i (or max-abs(i) as I was thinking)