operator-xor

The ^ operator yields the bitwise XOR (exclusive OR) of its arguments, which must be plain or long integers. The arguments are converted to a common type.

To support this operator in your own classes, implement the __xor__ method.

 

A Django site. this page was rendered by a django application in 0.01s 2008-12-04 01:30:47.467168. hosted by webfaction.