unsupported-binary-operation / E1131#
Message emitted:
%s
Description:
Emitted when a binary arithmetic operation between two operands is not supported.
Problematic code:
drink = "water" | None # [unsupported-binary-operation]
result = [] | None # [unsupported-binary-operation]
Correct code:
masked = 0b111111 & 0b001100
result = 0xaeff | 0x0b99
Configuration file:
[main]
py-version=3.9
Created by the typecheck checker.