Commit 2f609c41 authored by Stefan Behnel's avatar Stefan Behnel

minor code cleanup

parent 0f712bb7
......@@ -8,7 +8,6 @@ cdef class TreeVisitor:
cdef _visit(self, obj)
cdef find_handler(self, obj)
cdef _visitchild(self, child, parent, attrname, idx)
@cython.locals(idx=int)
cdef dict _visitchildren(self, parent, attrs)
cpdef visitchildren(self, parent, attrs=*)
......
......@@ -186,6 +186,7 @@ class TreeVisitor(object):
return self._visitchildren(parent, attrs)
@cython.final
@cython.locals(idx=int)
def _visitchildren(self, parent, attrs):
"""
Visits the children of the given parent. If parent is None, returns
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment