ID EN
Enum

__or__

Python 3.11

Returns current flag binary or’ed with other:

Syntax

PYTHON
__or__(self, other)

Examples

Example 1
PYTHON
>>> Color.RED | Color.GREEN
<Color.RED|GREEN: 3>