Skip to content

[3.13] gh-156829: Fix inaccuracies in the xml.sax documentation (GH-156830) - #156844

Merged
serhiy-storchaka merged 1 commit into
python:3.13from
miss-islington:backport-6f7941e-3.13
Sep 2, 2026
Merged

[3.13] gh-156829: Fix inaccuracies in the xml.sax documentation (GH-156830)#156844
serhiy-storchaka merged 1 commit into
python:3.13from
miss-islington:backport-6f7941e-3.13

Conversation

@miss-islington

@miss-islington miss-islington commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Corrected:

  • the name of the errorHandler argument of parse() and parseString();
  • the default value of the parser_list argument of make_parser();
  • the description of the source of parse();
  • the types of the declaration-handler and dom-node properties;
  • the way in which names are interned;
  • the description of IncrementalParser.

Documented:

  • default_parser_list and SAXReaderNotAvailable;
  • property_encoding and property_interning_dict;
  • IncrementalParser.prepareParser();
  • XMLFilterBase.getParent() and setParent();
  • which features and properties the parser based on Expat does not support.

Added missing docstrings to parse(), parseString(), AttributesImpl and
XMLGenerator.
(cherry picked from commit 6f7941e)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

…nGH-156830)

Corrected:

* the name of the errorHandler argument of parse() and parseString();
* the default value of the parser_list argument of make_parser();
* the description of the source of parse();
* the types of the declaration-handler and dom-node properties;
* the way in which names are interned;
* the description of IncrementalParser.

Documented:

* default_parser_list and SAXReaderNotAvailable;
* property_encoding and property_interning_dict;
* IncrementalParser.prepareParser();
* XMLFilterBase.getParent() and setParent();
* which features and properties the parser based on Expat does not support.

Added missing docstrings to parse(), parseString(), AttributesImpl and
XMLGenerator.
(cherry picked from commit 6f7941e)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@serhiy-storchaka
serhiy-storchaka merged commit 014ae75 into python:3.13 Sep 2, 2026
45 of 48 checks passed
@miss-islington
miss-islington deleted the backport-6f7941e-3.13 branch September 2, 2026 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants