Kaydet (Commit) 9ea2a630 authored tarafından R David Murray's avatar R David Murray

whatsnew: deprecation of ElementTree XMLParser *html* and iterparse *parser*.

#17741
üst 30781e93
......@@ -952,7 +952,8 @@ XMLParser Objects
specified in the XML file.
.. deprecated:: 3.4
The *html* argument.
The *html* argument. The remaining arguments should be passed via
keywword to prepare for the removal of the *html* argument.
.. method:: close()
......
......@@ -2057,6 +2057,11 @@ Deprecations in the Python API
appropriate uses of :class:`io.TextIOWrapper` (if needed) and its *newline*
argument.
* The *parser* argument of :func:`~xml.etree.ElementTree.iterparse` has
been deprecated, as has the *html* argument of
:func:`~xml.etree.ElementTree.XMLParser`. To prepare for the removal of the
latter, all arguments to ``XMLParser`` should be passed by keyword.
Deprecations in the C API
-------------------------
......
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