From: Stefan Behnel Date: Thu, 11 Nov 2010 20:20:14 +0000 (+0100) Subject: another tiny bit faster Visitors X-Git-Tag: 0.14.alpha0~187 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3facfcec99e503710d4871005f74aa056190c0a0;p=cython.git another tiny bit faster Visitors --- 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=*)