Skip to content

Commit

Permalink
gh-97661: Improve accuracy of sqlite3.Cursor.fetchone docs (GH-97662)
Browse files Browse the repository at this point in the history
Co-authored-by: C.A.M. Gerlach <[email protected]>
(cherry picked from commit 4b83cd0)

Co-authored-by: Jia Junjie <[email protected]>
  • Loading branch information
2 people authored and pablogsal committed Oct 22, 2022
1 parent 800c9c0 commit 5f43097
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Doc/library/sqlite3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1413,7 +1413,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.


Expand Down

0 comments on commit 5f43097

Please sign in to comment.