Alexander Belopolsky <belopol...@users.sourceforge.net> added the comment:

On Wed, Feb 2, 2011 at 11:10 AM, STINNER Victor <rep...@bugs.python.org> wrote:
..
> We can explain in ElementTree documentation how to pass non-ASCII unicode 
> strings: using
> explicit encoding to UTF-8.

ElementTree.fromstring() ultimately calls ElementTree.XMLParser.feed()
which is documented as follows:

"""
feed(data)
Feeds data to the parser. data is encoded data.
"""

Maybe we can simply add "encoded" to the description of
ElementTree.fromstring()  argument as well?

----------

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

Reply via email to