diff --git a/stubs/defusedxml/defusedxml/minidom.pyi b/stubs/defusedxml/defusedxml/minidom.pyi index 177f8b1a8..974d1a93a 100644 --- a/stubs/defusedxml/defusedxml/minidom.pyi +++ b/stubs/defusedxml/defusedxml/minidom.pyi @@ -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: ...