Skip to content

Commit deecb3a

Browse files
committed
PyMySQL: fixed returning type for SSCursor.readnext
1 parent 8843f07 commit deecb3a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stubs/PyMySQL/pymysql/cursors.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class DictCursorMixin:
4545

4646
class SSCursor(Cursor):
4747
def __del__(self) -> None: ...
48-
def read_next(self) -> dict[str, Any] | None: ...
48+
def read_next(self) -> tuple[str, Any] | None: ...
4949
def fetchall(self) -> list[tuple[Any, ...]]: ... # type: ignore[override]
5050
def fetchall_unbuffered(self) -> Iterator[tuple[Any, ...]]: ...
5151
def scroll(self, value: int, mode: str = "relative") -> None: ...

0 commit comments

Comments
 (0)