Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d5f7e8 commit e119c8fCopy full SHA for e119c8f
1 file changed
Doc/lib/xmlsaxhandler.tex
@@ -255,6 +255,14 @@ \subsection{ContentHandler Objects \label{content-handler-objects}}
255
256
\var{content} may be a Unicode string or a byte string; the
257
\code{expat} reader module produces always Unicode strings.
258
+
259
+ \strong{Note:} The earlier SAX 1 interface provided by the Python
260
+ XML Special Interest Group used a more Java-like interface for this
261
+ method. Since most parsers used from Python did not take advatage
262
+ of the older interface, the simpler signature was chosen to replace
263
+ it. To convert old code to the new interface, use \var{content}
264
+ instead of slicing content with the old \var{offset} and
265
+ \var{lenght} parameters.
266
\end{methoddesc}
267
268
\begin{methoddesc}[ContentHandler]{ignorableWhitespace}{}
0 commit comments