Skip to content

Commit e9a465f

Browse files
authored
bpo-36676: Update what's new document. (#13226)
1 parent 79efbb7 commit e9a465f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Doc/whatsnew/3.8.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -558,6 +558,13 @@ xml
558558
:func:`–xml.etree.ElementTree.canonicalize()` that implements C14N 2.0.
559559
(Contributed by Stefan Behnel in :issue:`13611`.)
560560

561+
* The target object of :class:`xml.etree.ElementTree.XMLParser` can
562+
receive namespace declaration events through the new callback methods
563+
``start_ns()`` and ``end_ns()``. Additionally, the
564+
:class:`xml.etree.ElementTree.TreeBuilder` target can be configured
565+
to process events about comments and processing instructions to include
566+
them in the generated tree.
567+
(Contributed by Stefan Behnel in :issue:`36676` and :issue:`36673`.)
561568

562569
Optimizations
563570
=============

0 commit comments

Comments
 (0)