operator-or

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.

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

 

A Django site. rendered by a django application. hosted by webfaction.