From 1d5857e1e0e0fe6078e563d769f07fe3a3352cc9 Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Tue, 7 Dec 2021 21:32:24 +0000 Subject: [PATCH] Add `xml.dom.InvalidCharacterErr` (#6538) * Update __init__.pyi * Update py3_common.txt --- stdlib/xml/dom/__init__.pyi | 1 + tests/stubtest_allowlists/py3_common.txt | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/xml/dom/__init__.pyi b/stdlib/xml/dom/__init__.pyi index c5766c326..e5b91bf2a 100644 --- a/stdlib/xml/dom/__init__.pyi +++ b/stdlib/xml/dom/__init__.pyi @@ -43,6 +43,7 @@ class IndexSizeErr(DOMException): ... class DomstringSizeErr(DOMException): ... class HierarchyRequestErr(DOMException): ... class WrongDocumentErr(DOMException): ... +class InvalidCharacterErr(DOMException): ... class NoDataAllowedErr(DOMException): ... class NoModificationAllowedErr(DOMException): ... class NotFoundErr(DOMException): ... diff --git a/tests/stubtest_allowlists/py3_common.txt b/tests/stubtest_allowlists/py3_common.txt index 2c9b35023..1e3d1623a 100644 --- a/tests/stubtest_allowlists/py3_common.txt +++ b/tests/stubtest_allowlists/py3_common.txt @@ -685,6 +685,5 @@ turtle.TNavigator.speed wave.Wave_read.initfp wave.Wave_write.initfp xml.dom -xml.dom.InvalidCharacterErr xml.etree xml.sax