another tiny bit faster Visitors
authorStefan Behnel <scoder@users.berlios.de>
Thu, 11 Nov 2010 20:20:14 +0000 (21:20 +0100)
committerStefan Behnel <scoder@users.berlios.de>
Thu, 11 Nov 2010 20:20:14 +0000 (21:20 +0100)
Cython/Compiler/Visitor.pxd

index 4ca2e3f7693496ad6d609308b47365a6730beacb..d72acc162be52672fd2293bd08c88a786adb35bb 100644 (file)
@@ -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=*)