mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-29 07:06:55 +08:00
Misc. changes to help pytype parse typeshed (#382)
This commit is contained in:
committed by
Matthias Kramm
parent
368c703078
commit
e02332a787
@@ -106,7 +106,7 @@ class Connection:
|
||||
def create_aggregate(self, name: str, num_params: int, aggregate_class: type) -> None: ...
|
||||
def create_collation(self, name: str, callable: Any) -> None: ...
|
||||
def create_function(self, name: str, num_params: int, func: Any) -> None: ...
|
||||
def cursor(self, cursorClass= Union[type, None]) -> Cursor: ...
|
||||
def cursor(self, cursorClass=...) -> Cursor: ...
|
||||
def execute(self, sql: str, parameters: Iterable = ...) -> Cursor: ...
|
||||
# TODO: please check in executemany() if seq_of_parameters type is possible like this
|
||||
def executemany(self, sql: str, seq_of_parameters: Iterable[Iterable]) -> Cursor: ...
|
||||
|
||||
Reference in New Issue
Block a user