Content-Length: 7882 | pFad | https://docs.python.org/2.2/ref/bitwise.html

5.8 Binary bit-wise operations

 
5.8 Binary bit-wise operations

 

Each of the three bitwise operations has a different priority level:

Download entire grammar as text.

The & operator yields the bitwise AND of its arguments, which must be plain or long integers. The arguments are converted to a common type.  

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.  

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

See About this document... for information on suggesting changes.








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://docs.python.org/2.2/ref/bitwise.html

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy