Skip to content

Commit 498ab71

Browse files
authored
defusedxml.ElementTree: useElement from ElementTree instead of minidom (#11305)
1 parent 67a80c6 commit 498ab71

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

stubs/defusedxml/defusedxml/ElementTree.pyi

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
from _typeshed import Incomplete
22
from collections.abc import Iterator, Sequence
33
from typing import Any
4-
from xml.dom.minidom import Element
5-
from xml.etree.ElementTree import ElementTree, ParseError as ParseError, XMLParser as _XMLParser, tostring as tostring
4+
from xml.etree.ElementTree import Element, ElementTree, ParseError as ParseError, XMLParser as _XMLParser, tostring as tostring
65

76
class DefusedXMLParser(_XMLParser):
87
forbid_dtd: bool

0 commit comments

Comments
 (0)