mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-24 21:01:52 +08:00
Added partial type stubs for stdlib xml (#4777)
Added empty stubs for xml.dom.minidom.parse and xml.dom.minidom.parseString, and other modules under xml.dom Co-authored-by: Stephanie Ding <sym@fb.com> Co-authored-by: Shantanu <hauntsaninja@users.noreply.github.com>
This commit is contained in:
3
stdlib/2and3/xml/dom/expatbuilder.pyi
Normal file
3
stdlib/2and3/xml/dom/expatbuilder.pyi
Normal file
@@ -0,0 +1,3 @@
|
||||
from typing import Any
|
||||
|
||||
def __getattr__(name: str) -> Any: ... # incomplete
|
||||
3
stdlib/2and3/xml/dom/minicompat.pyi
Normal file
3
stdlib/2and3/xml/dom/minicompat.pyi
Normal file
@@ -0,0 +1,3 @@
|
||||
from typing import Any
|
||||
|
||||
def __getattr__(name: str) -> Any: ... # incomplete
|
||||
@@ -1,3 +1,6 @@
|
||||
from typing import Any
|
||||
from typing import Any, Optional
|
||||
from xml.sax.xmlreader import XMLReader
|
||||
|
||||
def parse(file: str, parser: Optional[XMLReader] = ..., bufsize: Optional[int] = ...): ...
|
||||
def parseString(string: str, parser: Optional[XMLReader] = ...): ...
|
||||
def __getattr__(name: str) -> Any: ... # incomplete
|
||||
|
||||
3
stdlib/2and3/xml/dom/xmlbuilder.pyi
Normal file
3
stdlib/2and3/xml/dom/xmlbuilder.pyi
Normal file
@@ -0,0 +1,3 @@
|
||||
from typing import Any
|
||||
|
||||
def __getattr__(name: str) -> Any: ... # incomplete
|
||||
Reference in New Issue
Block a user