mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 21:14:48 +08:00
stdlib: Improve many __iter__ and constructor methods (#7112)
This commit is contained in:
@@ -204,7 +204,7 @@ class Cursor(Iterator[Any]):
|
||||
def fetchone(self) -> Any: ...
|
||||
def setinputsizes(self, __sizes: object) -> None: ... # does nothing
|
||||
def setoutputsize(self, __size: object, __column: object = ...) -> None: ... # does nothing
|
||||
def __iter__(self) -> Cursor: ...
|
||||
def __iter__(self: Self) -> Self: ...
|
||||
def __next__(self) -> Any: ...
|
||||
|
||||
class DataError(DatabaseError): ...
|
||||
|
||||
Reference in New Issue
Block a user