declare purely internal method of Visitor class as 'cdef'
authorStefan Behnel <scoder@users.berlios.de>
Thu, 11 Nov 2010 19:40:32 +0000 (20:40 +0100)
committerStefan Behnel <scoder@users.berlios.de>
Thu, 11 Nov 2010 19:40:32 +0000 (20:40 +0100)
Cython/Compiler/Visitor.pxd

index 160d2595763c4fb056065e57ed0d99468112ccd6..46ab02fb5173310e4df906f0ff5a6cf571ceeaa3 100644 (file)
@@ -9,7 +9,7 @@ cdef class TreeVisitor(BasicVisitor):
     cdef public list access_path
     cpdef visitchild(self, child, parent, attrname, idx)
     @cython.locals(idx=int)
-    cpdef dict _visitchildren(self, parent, attrs)
+    cdef dict _visitchildren(self, parent, attrs)
 #    cpdef visitchildren(self, parent, attrs=*)
 
 cdef class VisitorTransform(TreeVisitor):