mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
fix the __init__ of several C-classes (#13211)
This commit is contained in:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user