diff options
author | Walter Doerwald <walter@livinglogic.de> | 2011-12-04 13:54:08 +0100 |
---|---|---|
committer | Walter Doerwald <walter@livinglogic.de> | 2011-12-04 13:54:08 +0100 |
commit | 0a646d0ca9d815d240e48cc50e10b72a09b529a4 (patch) | |
tree | 6087bd21af6c8f09f1017c4e06cecee92097b734 | |
parent | 01364953987b51f9b815d104286e990a3f57fb65 (diff) | |
download | python-lxml-0a646d0ca9d815d240e48cc50e10b72a09b529a4.tar.gz |
Add a C type to the iteration variable in _DTDAttributeDecl.tree.
-rw-r--r-- | src/lxml/dtd.pxi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lxml/dtd.pxi b/src/lxml/dtd.pxi index 15532cb0..2679196b 100644 --- a/src/lxml/dtd.pxi +++ b/src/lxml/dtd.pxi @@ -149,7 +149,7 @@ cdef class _DTDAttributeDecl: property tree: def __get__(self): _assertValidDTDNode(self, self._c_node) - c_node = self._c_node.tree + cdef tree.xmlEnumeration *c_node = self._c_node.tree while c_node is not NULL: yield funicode(c_node.name) c_node = c_node.next |