On 2/19/07, Dick Moores <rdm rcblue.com> 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.co
m/p125.php
under "C bitwise operators".
--
- Rikard.
_______________________________________________
Tutor maillist - Tutor python.org
http://
mail.python.org/mailman/listinfo/tutor
|