n00m wrote:
The second part of the compound if is backwards. So if this is headed for production code, it better get fixed.Any comment:<snip> def v_cmp(v1, v2): if v1.x < v2.x and v1.y > v2.y: return -1 return 0
DaveA -- http://mail.python.org/mailman/listinfo/python-list