Commit d0ffcd60 authored by Ezio Melotti's avatar Ezio Melotti

#3932: suggest passing unicode to HTMLParser.feed().

parent 080b6f07
......@@ -64,7 +64,8 @@ An exception is defined as well:
Feed some text to the parser. It is processed insofar as it consists of
complete elements; incomplete data is buffered until more data is fed or
:meth:`close` is called.
:meth:`close` is called. *data* can be either :class:`unicode` or
:class:`str`, but passing :class:`unicode` is advised.
.. method:: HTMLParser.close()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment