From e35931d2eecb219eb3b06cc83222f5cd394a4010 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Tue, 27 May 2008 17:05:51 +0200 Subject: [PATCH] remove superfluous cast --- Cython/Compiler/ExprNodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cython/Compiler/ExprNodes.py b/Cython/Compiler/ExprNodes.py index f6b59cdf..406da371 100644 --- a/Cython/Compiler/ExprNodes.py +++ b/Cython/Compiler/ExprNodes.py @@ -992,7 +992,7 @@ class NameNode(AtomicExprNode): self.interned_cname, rhs.py_result())) # in Py2.6+, we need to invalidate the method cache - code.putln("__Pyx_TypeModified((PyTypeObject*)%s);" % + code.putln("__Pyx_TypeModified(%s);" % entry.scope.parent_type.typeptr_cname) else: code.put_error_if_neg(self.pos, -- 2.26.2