|= Bitwise Inclusive OR Assignment

Description

Performs bitwise OR and assigns value to the left operand.

Syntax

A |= B

A
Integer object.
B
Integer object.

Return Value

#TODO

Time Complexity

#TODO

Remarks

Equivalent to A = A | B.

Example

>>> b = 0b1111
>>> b |= 0b0101
>>> bin(b)
'0b1111'

See Also

#TODO