Index: xml.sax.utils.rst =================================================================== --- xml.sax.utils.rst (revision 74182) +++ xml.sax.utils.rst (working copy) @@ -56,8 +56,9 @@ This class implements the :class:`ContentHandler` interface by writing SAX events back into an XML document. In other words, using an :class:`XMLGenerator` as the content handler will reproduce the original document being parsed. *out* - should be a file-like object which will default to *sys.stdout*. *encoding* is - the encoding of the output stream which defaults to ``'iso-8859-1'``. + should be a file-like object. *encoding* is the encoding of the output + stream which defaults to ``'iso-8859-1'``. Note that this class writes + encoded bytes to the output, not strings. .. class:: XMLFilterBase(base)