[EMAIL PROTECTED] wrote: > def xor(a, b): > return a and not b or b and not a
>>> from operator import xor >>> help(xor) Help on built-in function xor in module operator: xor(...) xor(a, b) -- Same as a ^ b. -- http://mail.python.org/mailman/listinfo/python-list