fix the __init__ of several C-classes (#13211)

This commit is contained in:
Stephen Morton
2024-12-23 10:55:51 -08:00
committed by GitHub
parent bfb9a91950
commit 17408ee538
23 changed files with 160 additions and 111 deletions

View File

@@ -429,7 +429,7 @@ class PrepareProtocol:
def __init__(self, *args: object, **kwargs: object) -> None: ...
class Row(Sequence[Any]):
def __init__(self, cursor: Cursor, data: tuple[Any, ...], /) -> None: ...
def __new__(cls, cursor: Cursor, data: tuple[Any, ...], /) -> Self: ...
def keys(self) -> list[str]: ...
@overload
def __getitem__(self, key: int | str, /) -> Any: ...