mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-09 04:52:23 +08:00
Never explicitly inherit from object in Python 3-only stubs (#6777)
This commit is contained in:
@@ -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