8000 gh-97661: Improve accuracy of sqlite3.Cursor.fetchone docs by jiajunjie · Pull Request #97662 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 5, 2022
Merged
Changes from 1 commit
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
Prev Previous commit
Apply CAM's suggestion
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
  • Loading branch information
erlend-aasland and CAM-Gerlach authored Oct 5, 2022
commit 9d228e754f54e8ff9a0760362f231dc66f6c7e78
5 changes: 3 additions & 2 deletions Doc/library/sqlite3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1425,8 +1425,9 @@ Cursor objects

.. method:: fetchone()

Return the next row of a query result set as a :class:`tuple` or an object
returned by :attr:`~Connection.row_factory`.
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