Never explicitly inherit from object in Python 3-only stubs (#6777)

This commit is contained in:
Alex Waygood
2022-01-02 06:24:48 +00:00
committed by GitHub
parent d43cd997a4
commit 505ea72641
35 changed files with 79 additions and 67 deletions

View File

@@ -23,7 +23,7 @@ XML_PARAM_ENTITY_PARSING_ALWAYS: int
_Model = tuple[int, int, Optional[str], tuple[Any, ...]]
@final
class XMLParserType(object):
class XMLParserType:
def Parse(self, __data: str | bytes, __isfinal: bool = ...) -> int: ...
def ParseFile(self, __file: SupportsRead[bytes]) -> int: ...
def SetBase(self, __base: str) -> None: ...