mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-09 06:45:51 +08:00
defusedxml.ElementTree: useElement from ElementTree instead of minidom (#11305)
This commit is contained in:
1 parent
67a80c67df
commit
498ab71a34
1 file changed
+1
-2
@@ -1,8 +1,7 @@
|
||||
from _typeshed import Incomplete
|
||||
from collections.abc import Iterator, Sequence
|
||||
from typing import Any
|
||||
from xml.dom.minidom import Element
|
||||
from xml.etree.ElementTree import ElementTree, ParseError as ParseError, XMLParser as _XMLParser, tostring as tostring
|
||||
from xml.etree.ElementTree import Element, ElementTree, ParseError as ParseError, XMLParser as _XMLParser, tostring as tostring
|
||||
|
||||
class DefusedXMLParser(_XMLParser):
|
||||
forbid_dtd: bool
|
||||
|
||||
Reference in new issue
Block a user