Does Python need an 'xor' operator?
Martin v. Loewis
martin at v.loewis.de
Mon Apr 15 02:39:12 EDT 2002
philh at comuno.freeserve.co.uk (phil hunt) writes:
> And what if one is bool and the other is an int?
>>> True ^ 2
3
Regards,
Martin
More information about the Python-list
mailing list