mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-04 08:58:44 +08:00
Never explicitly inherit from object in Python 3-only stubs (#6777)
This commit is contained in:
1 parent
d43cd997a4
commit
505ea72641
35 files changed
+79
-67
No files matched your search
@@ -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: ...
|
||||
|
||||
Reference in new issue
Block a user