Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
gh-97661: Improve accuracy of sqlite3.Cursor.fetchone docs (GH-97662)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
(cherry picked from commit 4b83cd0)

Co-authored-by: Jia Junjie <62194633+jiajunjie@users.noreply.github.com>
  • Loading branch information
jiajunjie authored and miss-islington committed Oct 5, 2022
commit 1913fb0864ec04af59e359dac6d02421c5f820d1
4 changes: 3 additions & 1 deletion Doc/library/sqlite3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1412,7 +1412,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