示例#1
0
文件: mappet.py 项目: BigCedar/mappet
    def to_dict(self, **kw):
        u"""Converts the lxml object to a dict.

        possible kwargs:
            without_comments: bool
        """
        _, value = helpers.etree_to_dict(self._xml, **kw).popitem()
        return value
示例#2
0
文件: mappet.py 项目: zefhemel/mappet
 def to_dict(self):
     u"""Converts the lxml object to a dict."""
     _, value = helpers.etree_to_dict(self._xml).popitem()
     return value
示例#3
0
 def to_dict(self):
     u"""Converts the lxml object to a dict."""
     _, value = helpers.etree_to_dict(self._xml).popitem()
     return value