mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 21:14:48 +08:00
Big diff: use lower-case list and dict (#5888)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import sys
|
||||
from _typeshed import Self, StrOrBytesPath
|
||||
from datetime import date, datetime, time
|
||||
from typing import Any, Callable, Generator, Iterable, Iterator, List, Protocol, Tuple, Type, TypeVar
|
||||
from typing import Any, Callable, Generator, Iterable, Iterator, Protocol, Tuple, Type, TypeVar
|
||||
|
||||
_T = TypeVar("_T")
|
||||
|
||||
@@ -176,8 +176,8 @@ class Cursor(Iterator[Any]):
|
||||
def execute(self, __sql: str, __parameters: Iterable[Any] = ...) -> Cursor: ...
|
||||
def executemany(self, __sql: str, __seq_of_parameters: Iterable[Iterable[Any]]) -> Cursor: ...
|
||||
def executescript(self, __sql_script: bytes | str) -> Cursor: ...
|
||||
def fetchall(self) -> List[Any]: ...
|
||||
def fetchmany(self, size: int | None = ...) -> List[Any]: ...
|
||||
def fetchall(self) -> list[Any]: ...
|
||||
def fetchmany(self, size: int | None = ...) -> list[Any]: ...
|
||||
def fetchone(self) -> Any: ...
|
||||
def setinputsizes(self, *args: Any, **kwargs: Any) -> None: ...
|
||||
def setoutputsize(self, *args: Any, **kwargs: Any) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user