Skip to content
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
Next Next commit
Update Doc/library/sqlite3.rst
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
  • Loading branch information
Erlend Egeberg Aasland and CAM-Gerlach authored Jul 28, 2022
commit 00a335ff8896e3e9d8bbfaf265369cadb8a39421
2 changes: 1 addition & 1 deletion Doc/library/sqlite3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ using :meth:`~Cursor.executemany`::
]
>>> cur.executemany('INSERT INTO stocks VALUES(?, ?, ?, ?)', data)

Now, retrieve the data by iterating over the result of a SELECT statement::
Then, retrieve the data by iterating over the result of a ``SELECT`` statement::

>>> for row in cur.execute('SELECT * FROM stocks ORDER BY price'):
print(row)
Expand Down