Mark sqlite3.Cursor.rowcount as an int (#6150)

This commit is contained in:
David Robertson
2021-10-11 13:54:30 +01:00
committed by GitHub
parent 097d2231b4
commit 498f1aa41d
2 changed files with 2 additions and 2 deletions

View File

@@ -135,7 +135,7 @@ class Cursor(Iterator[Any]):
description: Any
lastrowid: Any
row_factory: Any
rowcount: Any
rowcount: int
# TODO: Cursor class accepts exactly 1 argument
# required type is sqlite3.Connection (which is imported as _Connection)
# however, the name of the __init__ variable is unknown