xor operator?

Delaney, Timothy tdelaney at avaya.com
Sun Jan 28 20:32:09 EST 2001


Well, we went over this a little while ago ...

To a large extent, != is the boolean XOR. There is however 1 caveat ...

not(a) != not (b)

is the boolean XOR ... ;)

Tim Delaney
Avaya Australia
+61 2 9352 9079

> -----Original Message-----
> From: Def P [mailto:def-p at usa.net]
> Sent: Friday, 26 January 2001 11:52 PM
> To: python-list at python.org
> Subject: xor operator?
> 
> 
> Hi,
> 
> I notice that there doesn't seem to be a boolean xor operator 
> in Python. Does
> someone know the reasons behind this? 
> 
> Regards,
> 
> Def P
> 
> ____________________________________________________________________
> Get free email and a permanent address at 
> http://www.netaddress.com/?N=1
> 
> -- 
> http://mail.python.org/mailman/listinfo/python-list
> 




More information about the Python-list mailing list