cpython/Lib/xml/dom
Miss Islington (bot) 50b5b368c2
[3.13] gh-156839: Fix inaccuracies in the xml.dom.pulldom documentation (GH-156840) (GH-156847)
Corrected:

* the node types for the PROCESSING_INSTRUCTION and COMMENT events;
* the return value of getEvent() at the end of the document;
* the type of the argument of parseString();
* references to the xml.dom interfaces, written as xml.dom.minidom.

Documented:

* the event constants, which were referenced but never described;
* PullDOM, SAX2DOM and the documentFactory argument;
* the arguments of DOMEventStream, its reset() and clear() methods.

Added docstrings to the module, the classes and their public methods, and
removed the commented out paragraph about pulldom in the xml.dom
documentation, which was never rendered and refers to a site which no longer
exists.
(cherry picked from commit c2658214da)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2026-09-02 17:17:25 +00:00
..
__init__.py
domreg.py
expatbuilder.py [3.13] gh-156658: Only XML white space characters are treated as white space (GH-156659) (GH-156827) 2026-09-02 12:54:45 +00:00
minicompat.py
minidom.py [3.13] gh-156658: Only XML white space characters are treated as white space (GH-156659) (GH-156827) 2026-09-02 12:54:45 +00:00
NodeFilter.py
pulldom.py [3.13] gh-156839: Fix inaccuracies in the xml.dom.pulldom documentation (GH-156840) (GH-156847) 2026-09-02 17:17:25 +00:00
xmlbuilder.py