FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.14] gh-156635: Fix the exceptions in the xml.dom documentation (GH-156636) by miss-islington · Pull Request #156638 · python/cpython · GitHub

Repository navigation

[3.14] gh-156635: Fix the exceptions in the xml.dom documentation (GH-156636) - #156638

Merged
serhiy-storchaka merged 1 commit into
python:3.14from
miss-islington:backport-74b944a-3.14
Aug 30, 2026
Merged

serhiy-storchaka merged 1 commit into
python:3.14from
miss-islington:backport-74b944a-3.14

Conversation

miss-islington commented Aug 30, 2026 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

Node.insertBefore(), Node.removeChild() and Node.replaceChild() raise
NotFoundErr, not ValueError.

Element.removeAttribute() and Element.removeAttributeNS() raise
NotFoundErr if there is no matching attribute, which contradicts the
DOM, so this is documented as a deviation in the minidom documentation.
(cherry picked from commit 74b944a)

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

…honGH-156636)

Node.insertBefore(), Node.removeChild() and Node.replaceChild() raise
NotFoundErr, not ValueError.

Element.removeAttribute() and Element.removeAttributeNS() raise
NotFoundErr if there is no matching attribute, which contradicts the
DOM, so this is documented as a deviation in the minidom documentation.
(cherry picked from commit 74b944a)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
bedevere-app Bot added docs Documentation in the Doc dir skip news labels Aug 30, 2026
github-project-automation Bot moved this to Todo in Docs PRs Aug 30, 2026
serhiy-storchaka enabled auto-merge (squash) August 30, 2026 09:41
serhiy-storchaka merged commit 0ee064f into python:3.14 Aug 30, 2026
37 of 38 checks passed
github-project-automation Bot moved this from Todo to Done in Docs PRs Aug 30, 2026
miss-islington deleted the backport-74b944a-3.14 branch August 30, 2026 09:44
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL