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:
an onion
2020-11-20 22:02:35 -05:00
committed by GitHub
parent ba223399a6
commit 095464874a
4 changed files with 13 additions and 1 deletions

View File

@@ -0,0 +1,3 @@
from typing import Any
def __getattr__(name: str) -> Any: ... # incomplete

View File

@@ -0,0 +1,3 @@
from typing import Any
def __getattr__(name: str) -> Any: ... # incomplete

View File

@@ -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

View File

@@ -0,0 +1,3 @@
from typing import Any
def __getattr__(name: str) -> Any: ... # incomplete