Skip to content

Commit 9e24fcb

Browse files
author
Arzaroth Lekva
committed
RapidXml.allocate_node returns dictnode
1 parent de365d3 commit 9e24fcb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

rapidxml/rapidxml.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,6 @@ def __init__(self,
8585
cdata_key='#text'):
8686
DictNode.__init__(self, attribute_prefix, cdata_key)
8787
_rapidxml.Document.__init__(self, text, from_file)
88+
89+
def allocate_node(self, *args):
90+
return DictNode().copy(super(RapidXml, self).allocate_node(*args))

0 commit comments

Comments
 (0)