gh-97661: Improve accuracy of sqlite3.Cursor.fetchone docs (#97662)

Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
This commit is contained in:
Jia Junjie 2022-10-05 16:47:54 +08:00 committed by GitHub
parent c529b45122
commit 4b83cd0b22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -1425,7 +1425,9 @@ Cursor objects
.. method:: fetchone()
Return the next row of a query result set as a :class:`tuple`.
If :attr:`~Connection.row_factory` is ``None``,
return the next row query result set as a :class:`tuple`.
Else, pass it to the row factory and return its result.
Return ``None`` if no more data is available.