Python operator.ior Function
The operator.ior function in Python’s operator module performs in-place bitwise OR on two objects. It is equivalent to using the |= operator but allows the in-place bitwise OR operation to be used as a function, which can be useful in functional programming and higher-order functions.