mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
defusedxml: Add xml.dom.minidom.Document return type annotation (#11279)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
from _typeshed import Incomplete
|
||||
from xml.dom.minidom import Document
|
||||
|
||||
__origin__: str
|
||||
|
||||
@@ -9,11 +10,11 @@ def parse(
|
||||
forbid_dtd: bool = False,
|
||||
forbid_entities: bool = True,
|
||||
forbid_external: bool = True,
|
||||
): ...
|
||||
) -> Document: ...
|
||||
def parseString(
|
||||
string: str,
|
||||
parser: Incomplete | None = None,
|
||||
forbid_dtd: bool = False,
|
||||
forbid_entities: bool = True,
|
||||
forbid_external: bool = True,
|
||||
): ...
|
||||
) -> Document: ...
|
||||
|
||||
Reference in New Issue
Block a user