random832 at random832 at
Thu Oct 9 05:54:06 CEST 2014

On Wed, Oct 8, 2014, at 23:02, Mark Lawrence wrote:
> When I first read this I was extremely jealous of the originator but 
> having used it umpteen times I'm still extremely jealous of the 
> originator!!!  Why doesn't my mind work like his? :)

You could also keep the ints in two variables and do a ^= b : b ^= a : a
^= b. Or use a, b = b, a. What I don't see in that answer is any
benchmarking support for his sweeping assertions of what is the fastest

More information about the Python-list mailing list