From 3facfcec99e503710d4871005f74aa056190c0a0 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Thu, 11 Nov 2010 21:20:14 +0100 Subject: [PATCH] another tiny bit faster Visitors --- Cython/Compiler/Visitor.pxd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cython/Compiler/Visitor.pxd b/Cython/Compiler/Visitor.pxd index 4ca2e3f7..d72acc16 100644 --- a/Cython/Compiler/Visitor.pxd +++ b/Cython/Compiler/Visitor.pxd @@ -8,7 +8,7 @@ cdef class BasicVisitor: cdef class TreeVisitor(BasicVisitor): cdef public list access_path - cpdef visitchild(self, child, parent, attrname, idx) + cdef visitchild(self, child, parent, attrname, idx) @cython.locals(idx=int) cdef dict _visitchildren(self, parent, attrs) cpdef visitchildren(self, parent, attrs=*) -- 2.26.2