Commit 7494be69 authored by Stefan Behnel's avatar Stefan Behnel

Use "Py_ssize_t" instead of "int" for a node counter variable to avoid...

Use "Py_ssize_t" instead of "int" for a node counter variable to avoid uselessly limiting its value range.
parent ad6dc605
......@@ -198,7 +198,7 @@ class TreeVisitor(object):
return self._visitchildren(parent, attrs)
@cython.final
@cython.locals(idx=int)
@cython.locals(idx=cython.Py_ssize_t)
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