Every line of 'python arithmetic operators' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your Python code is secure.
713 @utils.check_messages("nonexistent-operator") 714 def visit_unaryop(self, node): 715 """check use of the non-existent ++ and -- operator operator""" 716 if ( 717 (node.op in "+-") 718 and isinstance(node.operand, astroid.UnaryOp) 719 and (node.operand.op == node.op) 720 ): 721 self.add_message("nonexistent-operator", node=node, args=node.op * 2)