From add8091340e3e7f053a484fb3a2fcaffa5e20be7 Mon Sep 17 00:00:00 2001 From: Stefan Behnel <stefan_ml@behnel.de> Date: Wed, 21 Aug 2013 21:13:17 +0200 Subject: [PATCH] remove redundant qualifier from method name --- Cython/Compiler/Optimize.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cython/Compiler/Optimize.py b/Cython/Compiler/Optimize.py index 18575eeea..e4f6c5bd3 100644 --- a/Cython/Compiler/Optimize.py +++ b/Cython/Compiler/Optimize.py @@ -3052,7 +3052,7 @@ class ConstantFolding(Visitor.VisitorTransform, SkipDeclarations): self._calculate_const(node) if node.constant_result is ExprNodes.not_a_constant: if node.operator == '!': - return self._handle_UnaryNotNode(node) + return self._handle_NotNode(node) return node if not node.operand.is_literal: return node @@ -3076,7 +3076,7 @@ class ConstantFolding(Visitor.VisitorTransform, SkipDeclarations): 'is_not': 'is' }.get - def _handle_UnaryNotNode(self, node): + def _handle_NotNode(self, node): operand = node.operand if isinstance(operand, ExprNodes.PrimaryCmpNode): operator = self._negate_operator(operand.operator) -- 2.30.9