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
erlend-aasland Aug 6, 2022
f21d777
Fix rest syntax
erlend-aasland Aug 6, 2022
4231b75
Improve count query comment
erlend-aasland Aug 6, 2022
e08ca43
SQL commands => SQL queries
erlend-aasland Aug 6, 2022
f9a5664
Improve transaction control paragraph
erlend-aasland Aug 6, 2022
484f341
Be more to the point
erlend-aasland Aug 6, 2022
ae0969f
Fix ref
erlend-aasland Aug 6, 2022
d1d11f4
Missing 'the'; even more to the point
erlend-aasland Aug 6, 2022
9870036
Be more accurate
erlend-aasland Aug 6, 2022
431dcb5
Remove unneeded comments; the instructions don't need to be reiterated
erlend-aasland Aug 6, 2022
ac7d870
Merge branch 'main' into sqlite-tutorial/improve-wording
erlend-aasland Aug 8, 2022
f4b66ac
Address Ezio's initial review
erlend-aasland Aug 8, 2022
09ac89d
Address second round of reviews from both Ezio and CAM
erlend-aasland Aug 9, 2022
cbfb325
Use Python version history as example database
erlend-aasland Aug 9, 2022
deb199c
move sphinx comment; it creates havoc
erlend-aasland Aug 9, 2022
d54ff8d
Address a new round of reviews from CAM
erlend-aasland Aug 9, 2022
e778012
Update the example, be more explicit
erlend-aasland Aug 10, 2022
e9e1ffa
Address review comments
erlend-aasland Aug 11, 2022
f60e3a2
Missing blank line below Sphinx comment
erlend-aasland Aug 11, 2022
5d03a4e
Address reviews from 2022-08-11
erlend-aasland Aug 12, 2022
3ec75d1
Tone: use second person singular more often
erlend-aasland Aug 12, 2022
84d798f
Adressing the last rounds of comments from CAM, Daniele, and Ezio
erlend-aasland Aug 14, 2022
d09d9f6
you will need to => you need to
erlend-aasland Aug 14, 2022
d6f4775
Address more review comments
erlend-aasland Aug 14, 2022
b46942b
Address CAM's last round of comments; use first person plural
erlend-aasland Aug 15, 2022
4a51e1e
Typos
erlend-aasland Aug 15, 2022
92fa693
Nits and a link
erlend-aasland Aug 15, 2022
d40c2a7
Adjust 'non-existent' example; adjust final query; sort links
erlend-aasland Aug 16, 2022
d2c3968
Rewrite an 'as expected'
erlend-aasland Aug 16, 2022
32a19e9
Fix string format anti-pattern
erlend-aasland 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"
erlend-aasland 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
Revert "Update Doc/library/sqlite3.rst"
This reverts commit 0e0398d.
  • Loading branch information
erlend-aasland committed Aug 18, 2022
commit cb41c494fa3a0cdb727f7b1294b9cf655bd39163
3 changes: 1 addition & 2 deletions Doc/library/sqlite3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,7 @@ assign the result to ``res``,
and call :meth:`res.fetchone() <Cursor.fetchone>` to fetch the resulting row::

>>> res = cur.execute("SELECT name FROM sqlite_master")
>>> res.fetchone() is None
True
>>> res.fetchone()
('movie',)

We can see that the table has been created,
Expand Down