File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -952,7 +952,8 @@ XMLParser Objects
952952 specified in the XML file.
953953
954954 .. deprecated :: 3.4
955- The *html * argument.
955+ The *html * argument. The remaining arguments should be passed via
956+ keywword to prepare for the removal of the *html * argument.
956957
957958 .. method :: close()
958959
Original file line number Diff line number Diff line change @@ -2057,6 +2057,11 @@ Deprecations in the Python API
20572057 appropriate uses of :class: `io.TextIOWrapper ` (if needed) and its *newline *
20582058 argument.
20592059
2060+ * The *parser * argument of :func: `~xml.etree.ElementTree.iterparse ` has
2061+ been deprecated, as has the *html * argument of
2062+ :func: `~xml.etree.ElementTree.XMLParser `. To prepare for the removal of the
2063+ latter, all arguments to ``XMLParser `` should be passed by keyword.
2064+
20602065
20612066Deprecations in the C API
20622067-------------------------
You can’t perform that action at this time.
0 commit comments