diff options
-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 |