binary-op-exception / W0711#
Exception to catch is the result of a binary "%s" operation
Used when the exception to catch is of the form "except A or B:". If intending to catch multiple, rewrite as "except (A, B):"
try: 1 / 0 except ZeroDivisionError or ValueError: # [binary-op-exception] pass
try: 1 / 0 except (ZeroDivisionError, ValueError): pass
Created by the exceptions checker.