projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7837b47
)
another tiny bit faster Visitors
author
Stefan Behnel
<scoder@users.berlios.de>
Thu, 11 Nov 2010 20:20:14 +0000
(21:20 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Thu, 11 Nov 2010 20:20:14 +0000
(21:20 +0100)
Cython/Compiler/Visitor.pxd
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Visitor.pxd
b/Cython/Compiler/Visitor.pxd
index 4ca2e3f7693496ad6d609308b47365a6730beacb..d72acc162be52672fd2293bd08c88a786adb35bb 100644
(file)
--- 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
- c
p
def 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=*)