On 2/19/07, Dick Moores <[EMAIL PROTECTED]> wrote: > I've tried "^=" out a bit: [...] > and get that strange alternating behavior. Can someone explain? > And while at it, please also explain "&=" and "|=".
^ is XOR, & is AND, | is OR, all bitwise. You can read more about them here: http://www.somacon.com/p125.php under "C bitwise operators". -- - Rikard. _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor