In article <[email protected]>, Rustom Mody <[email protected]> wrote:
> A C programmer asked to swap variables x and y, typically writes something > like > > t = x; x = y; y = t; > > Fine, since C cant do better. Sure C can do better. x = x ^ y y = y ^ x x = x ^ y Any self-respecting C hacker would write it this way :-) -- https://mail.python.org/mailman/listinfo/python-list
