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

This commit is contained in:
Alex Waygood authored and GitHub committed 2022-01-02 07:24:48 +01:00
1 parent d43cd997a4
commit 505ea72641
35 files changed
+79 -67

No files matched your search

+1 -1
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: ...