mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-09 13:02:22 +08:00
stdlib: Add defaults for positional-only parameters (#9655)
This commit is contained in:
@@ -24,14 +24,14 @@ _Model: TypeAlias = tuple[int, int, str | None, tuple[Any, ...]]
|
||||
|
||||
@final
|
||||
class XMLParserType:
|
||||
def Parse(self, __data: str | ReadableBuffer, __isfinal: bool = ...) -> int: ...
|
||||
def Parse(self, __data: str | ReadableBuffer, __isfinal: bool = False) -> int: ...
|
||||
def ParseFile(self, __file: SupportsRead[bytes]) -> int: ...
|
||||
def SetBase(self, __base: str) -> None: ...
|
||||
def GetBase(self) -> str | None: ...
|
||||
def GetInputContext(self) -> bytes | None: ...
|
||||
def ExternalEntityParserCreate(self, __context: str | None, __encoding: str = ...) -> XMLParserType: ...
|
||||
def SetParamEntityParsing(self, __flag: int) -> int: ...
|
||||
def UseForeignDTD(self, __flag: bool = ...) -> None: ...
|
||||
def UseForeignDTD(self, __flag: bool = True) -> None: ...
|
||||
@property
|
||||
def intern(self) -> dict[str, str]: ...
|
||||
buffer_size: int
|
||||
|
||||
Reference in New Issue
Block a user