File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -92,10 +92,17 @@ \section{\module{pyexpat} ---
9292\method {SetBase()} hasn't been called.
9393\end {methoddesc }
9494
95- \class {xmlparser} objects have the following attributes, containing
96- values relating to the most recent error encountered by an
97- \class {xmlparser} object. These attributes will only have correct
98- values once a call to \method {Parse()} or \method {ParseFile()}
95+ \class {xmlparser} objects have the following attributes.
96+
97+ \begin {datadesc }{returns_unicode}
98+ If this attribute is set to 1, the handler functions will be passed
99+ Unicode strings. If \member {returns_unicode} is 0, 8-bit strings
100+ containing UTF-8 encoded data will be passed to the handlers.
101+ \end {datadesc }
102+
103+ The following attributes contain values relating to the most recent
104+ error encountered by an \class {xmlparser} object, and will only have
105+ correct values once a call to \method {Parse()} or \method {ParseFile()}
99106has raised a \exception {pyexpat.error} exception.
100107
101108\begin {datadesc }{ErrorByteIndex}
You can’t perform that action at this time.
0 commit comments