mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
Fix positional-only differences in sqlite3 (#7222)
This commit is contained in:
@@ -2,7 +2,7 @@ import sys
|
||||
from _typeshed import Self, StrOrBytesPath
|
||||
from datetime import date, datetime, time
|
||||
from typing import Any, Callable, Generator, Iterable, Iterator, Protocol, TypeVar
|
||||
from typing_extensions import final
|
||||
from typing_extensions import Literal, final
|
||||
|
||||
_T = TypeVar("_T")
|
||||
|
||||
@@ -183,7 +183,7 @@ class Connection:
|
||||
|
||||
def __call__(self, *args: Any, **kwargs: Any) -> Any: ...
|
||||
def __enter__(self: Self) -> Self: ...
|
||||
def __exit__(self, t: type | None, exc: BaseException | None, tb: Any | None) -> None: ...
|
||||
def __exit__(self, __type: type | None, __value: BaseException | None, __traceback: Any | None) -> Literal[False]: ...
|
||||
|
||||
class Cursor(Iterator[Any]):
|
||||
arraysize: Any
|
||||
@@ -233,16 +233,16 @@ class ProgrammingError(DatabaseError): ...
|
||||
class Row:
|
||||
def __init__(self, *args: Any, **kwargs: Any) -> None: ...
|
||||
def keys(self): ...
|
||||
def __eq__(self, other): ...
|
||||
def __ge__(self, other): ...
|
||||
def __getitem__(self, index): ...
|
||||
def __gt__(self, other): ...
|
||||
def __eq__(self, __other): ...
|
||||
def __ge__(self, __other): ...
|
||||
def __getitem__(self, __index): ...
|
||||
def __gt__(self, __other): ...
|
||||
def __hash__(self): ...
|
||||
def __iter__(self): ...
|
||||
def __le__(self, other): ...
|
||||
def __le__(self, __other): ...
|
||||
def __len__(self): ...
|
||||
def __lt__(self, other): ...
|
||||
def __ne__(self, other): ...
|
||||
def __lt__(self, __other): ...
|
||||
def __ne__(self, __other): ...
|
||||
|
||||
if sys.version_info < (3, 8):
|
||||
class Statement:
|
||||
|
||||
Reference in New Issue
Block a user