[docs] [issue24079] xml.etree.ElementTree.Element.text does not conform to the documentation

Jérôme Laurens report at bugs.python.org
Thu Apr 30 20:03:22 CEST 2015


Jérôme Laurens added the comment:

Erratum

def innertext(elt):
    return (elt.text or '') +''.join(innertext(e)+(e.tail or '') for e in elt)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24079>
_______________________________________


More information about the docs mailing list