summaryrefslogtreecommitdiffstats
path: root/Doc/tools
diff options
context:
space:
mode:
authorErlend E. Aasland <erlend.aasland@protonmail.com>2022-08-31 08:10:55 (GMT)
committerGitHub <noreply@github.com>2022-08-31 08:10:55 (GMT)
commit2ecc195498f3b1256fabc2b66e0d8f6d671fa1d7 (patch)
tree7f31823dd2fb5eeb5543b2f5c772091cdf92d8ff /Doc/tools
parenta0d0a77c1f78fee581294283a66bf198d69f2699 (diff)
downloadcpython-2ecc195498f3b1256fabc2b66e0d8f6d671fa1d7.zip
cpython-2ecc195498f3b1256fabc2b66e0d8f6d671fa1d7.tar.gz
cpython-2ecc195498f3b1256fabc2b66e0d8f6d671fa1d7.tar.bz2
[3.10] gh-96414: Inline code examples in sqlite3 docs (GH-96442). (#96453)
* [3.10] gh-96414: Inline code examples in sqlite3 docs (GH-96442). (cherry picked from commit f7e7bf161aaec5a5cffdcec7c97e1f09e445421b) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Diffstat (limited to 'Doc/tools')
-rw-r--r--Doc/tools/susp-ignored.csv2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tools/susp-ignored.csv b/Doc/tools/susp-ignored.csv
index a338034..7504978 100644
--- a/Doc/tools/susp-ignored.csv
+++ b/Doc/tools/susp-ignored.csv
@@ -212,7 +212,7 @@ library/smtplib,,:port,method must support that as well as a regular host:port
library/socket,,::,'5aef:2b::8'
library/socket,,:can,"return (can_id, can_dlc, data[:can_dlc])"
library/socket,,:len,fds.frombytes(cmsg_data[:len(cmsg_data) - (len(cmsg_data) % fds.itemsize)])
-library/sqlite3,,:year,"cur.execute(""select * from lang where first_appeared=:year"", {""year"": 1972})"
+library/sqlite3,,:year,"cur.execute(""SELECT * FROM lang WHERE first_appeared = :year"", {""year"": 1972})"
library/sqlite3,,:memory,
library/sqlite3,,:mem1,"db = ""file:mem1?mode=memory&cache=shared"""
library/sqlite3,,:nosuchdb,">>> con = sqlite3.connect(""file:nosuchdb.db?mode=rw"", uri=True)"