def _is_range_op(self, node): return isinstance(node, ast.BinOp) and isinstance(node.op, self.range_op)