Few more fixes for issues found by testing on internal codebases (#4876)

Few unrelated (but quite obvious) fixes here.

Co-authored-by: Ivan Levkivskyi <ilevkivskyi@dropbox.com>
This commit is contained in:
Ivan Levkivskyi
2020-12-30 17:32:14 +00:00
committed by GitHub
parent 85d6df4742
commit 4141dd1176
4 changed files with 6 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
from typing import Any, Optional
from typing import Any, Optional, Text, Union
from xml.sax.xmlreader import XMLReader
def parse(file: str, parser: Optional[XMLReader] = ..., bufsize: Optional[int] = ...): ...
def parseString(string: str, parser: Optional[XMLReader] = ...): ...
def parseString(string: Union[bytes, Text], parser: Optional[XMLReader] = ...): ...
def __getattr__(name: str) -> Any: ... # incomplete