Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
974022c
gh-95271: Improve sqlite3 tutorial wording
Aug 6, 2022
f21d777
Fix rest syntax
Aug 6, 2022
4231b75
Improve count query comment
Aug 6, 2022
e08ca43
SQL commands => SQL queries
Aug 6, 2022
f9a5664
Improve transaction control paragraph
Aug 6, 2022
484f341
Be more to the point
Aug 6, 2022
ae0969f
Fix ref
Aug 6, 2022
d1d11f4
Missing 'the'; even more to the point
Aug 6, 2022
9870036
Be more accurate
Aug 6, 2022
431dcb5
Remove unneeded comments; the instructions don't need to be reiterated
Aug 6, 2022
ac7d870
Merge branch 'main' into sqlite-tutorial/improve-wording
Aug 8, 2022
f4b66ac
Address Ezio's initial review
Aug 8, 2022
09ac89d
Address second round of reviews from both Ezio and CAM
Aug 9, 2022
cbfb325
Use Python version history as example database
Aug 9, 2022
deb199c
move sphinx comment; it creates havoc
Aug 9, 2022
d54ff8d
Address a new round of reviews from CAM
Aug 9, 2022
e778012
Update the example, be more explicit
Aug 10, 2022
e9e1ffa
Address review comments
Aug 11, 2022
f60e3a2
Missing blank line below Sphinx comment
Aug 11, 2022
5d03a4e
Address reviews from 2022-08-11
Aug 12, 2022
3ec75d1
Tone: use second person singular more often
Aug 12, 2022
84d798f
Adressing the last rounds of comments from CAM, Daniele, and Ezio
Aug 14, 2022
d09d9f6
you will need to => you need to
Aug 14, 2022
d6f4775
Address more review comments
Aug 14, 2022
b46942b
Address CAM's last round of comments; use first person plural
Aug 15, 2022
4a51e1e
Typos
Aug 15, 2022
92fa693
Nits and a link
Aug 15, 2022
d40c2a7
Adjust 'non-existent' example; adjust final query; sort links
Aug 16, 2022
d2c3968
Rewrite an 'as expected'
Aug 16, 2022
32a19e9
Fix string format anti-pattern
Aug 17, 2022
dd38587
Clarify how we verify that the table has been created
Aug 18, 2022
f41be9b
Update Doc/library/sqlite3.rst
Aug 18, 2022
0e0398d
Update Doc/library/sqlite3.rst
Aug 18, 2022
cb41c49
Revert "Update Doc/library/sqlite3.rst"
Aug 18, 2022
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
Be more to the point
  • Loading branch information
erlend-aasland committed Aug 6, 2022
commit 484f3418de1e901804e7fab7fbfaeb3e02bb2cf5
6 changes: 3 additions & 3 deletions Doc/library/sqlite3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ Use connection object to :meth:`~Connection.commit` the pending transaction::

con.commit() # Save the changes.
Comment thread
erlend-aasland marked this conversation as resolved.
Outdated

Let us verify that our data has been committed and written to disk
by closing the database connection, opening a new connection,
and querying our ``stocks`` table for our newly inserted row::
Verify that data has been committed and written to disk:
close the connection, open a new connection,
then query the database::
Comment thread
erlend-aasland marked this conversation as resolved.
Outdated

# Close the database connection.
>>> con.close()
Expand Down