mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
little edit
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# based heavily on Andrey Vlasovskikh's python-skeletons https://github.com/JetBrains/python-skeletons/blob/master/sqlite3.py
|
||||
|
||||
from typing import Any, Union, List
|
||||
from numbers import Integral as _Integral
|
||||
from numbers import Integral
|
||||
from datetime import time, datetime
|
||||
from collections import Iterable
|
||||
|
||||
@@ -141,7 +141,7 @@ class Cursor:
|
||||
def executemany(self, sql: str, seq_of_parameters: Iterable[Iterable]): ...
|
||||
def executescript(self, sql_script: Union[bytes, unicode]) -> Cursor: ...
|
||||
def fetchall(self) -> List[tuple]: ...
|
||||
def fetchmany(self, size: _Integral = ...) -> List[tuple]: ...
|
||||
def fetchmany(self, size: Integral = ...) -> List[tuple]: ...
|
||||
def fetchone(self) -> Union[tuple, None]: ...
|
||||
def setinputsizes(self, *args, **kwargs): ...
|
||||
def setoutputsize(self, *args, **kwargs): ...
|
||||
|
||||
Reference in New Issue
Block a user