Raymond Hettinger added the comment:

> this is well formed xml and has nothing to do with tail.

In fact, it does have something to do with tail.
The 'TEXT' is a captured as the tail of element b:

>>> root3 = ET.fromstring('<a><b/>TEXT</a>')
>>> root3[0].tail
'TEXT'

----------
nosy: +eli.bendersky, rhettinger, scoder

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24079>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to