mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
stdlib: fix signatures for some functions with unrepresentable defaults (#11000)
Found with python/mypy#16433 Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
@@ -352,7 +352,7 @@ class Connection:
|
||||
def cursor(self, cursorClass: None = None) -> Cursor: ...
|
||||
@overload
|
||||
def cursor(self, cursorClass: Callable[[Connection], _CursorT]) -> _CursorT: ...
|
||||
def execute(self, sql: str, parameters: _Parameters = ...) -> Cursor: ...
|
||||
def execute(self, __sql: str, __parameters: _Parameters = ...) -> Cursor: ...
|
||||
def executemany(self, __sql: str, __parameters: Iterable[_Parameters]) -> Cursor: ...
|
||||
def executescript(self, __sql_script: str) -> Cursor: ...
|
||||
def interrupt(self) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user