[docs] [issue16082] xml.etree.ElementTree.tostringlist does not conform to its documentation

Eli Bendersky report at bugs.python.org
Tue Oct 9 16:06:27 CEST 2012


Eli Bendersky added the comment:

Einar, TypeError is raised because tostring/tostringlist return bytes with the default encoding, and you can't join bytes on "" (which is unicode).

----------

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


More information about the docs mailing list