mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
defusedxml.ElementTree: useElement from ElementTree instead of minidom (#11305)
This commit is contained in:
@@ -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