Python __ior__() Magic Method
Syntax object.__ior__(self, other) The Python __ior__() magic method implements the in-place bitwise OR x |= y that calculates the result of the bitwise OR operation x | y, and assigns it to the first operands’ variable x. This type of in-place operation is also called augmented arithmetic assignment. The method simply returns the new value … Read more