summaryrefslogtreecommitdiffstats
path: root/Doc/tools
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-05-19 07:43:44 (GMT)
committerGitHub <noreply@github.com>2021-05-19 07:43:44 (GMT)
commitdb20afe6c43ad585577589131bf658ce7ebe6bd2 (patch)
tree0e29f0bf5d7c2cb4466b883972050a21303ea596 /Doc/tools
parent76ed53ca7bf0d4a43099d9401af5fe9f75689885 (diff)
downloadcpython-db20afe6c43ad585577589131bf658ce7ebe6bd2.zip
cpython-db20afe6c43ad585577589131bf658ce7ebe6bd2.tar.gz
cpython-db20afe6c43ad585577589131bf658ce7ebe6bd2.tar.bz2
bpo-44106: Improve sqlite3 example database contents (GH-26027)
(cherry picked from commit 92d1064727d6b7f4136f9c09ab52ae15e3676afe) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
Diffstat (limited to 'Doc/tools')
-rw-r--r--Doc/tools/susp-ignored.csv3
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/tools/susp-ignored.csv b/Doc/tools/susp-ignored.csv
index 95277c4..ad5f55e 100644
--- a/Doc/tools/susp-ignored.csv
+++ b/Doc/tools/susp-ignored.csv
@@ -211,8 +211,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,,:name,"cur.execute(""select * from lang where lang_name=:name and lang_age=:age"","
-library/sqlite3,,:age,"cur.execute(""select * from lang where lang_name=:name and lang_age=:age"","
+library/sqlite3,,:year,"cur.execute(""select * from lang where first_appeared=:year"", {""year"": 1972})"
library/sqlite3,,:memory,
library/sqlite3,,:path,"db = sqlite3.connect('file:path/to/database?mode=ro', uri=True)"
library/ssl,,:My,"Organizational Unit Name (eg, section) []:My Group"