summaryrefslogtreecommitdiffstats
path: root/Doc/tools
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-04-14 13:28:11 (GMT)
committerGitHub <noreply@github.com>2021-04-14 13:28:11 (GMT)
commit95e4431804587a0c9d464bb7b3d5f3057bbeaccd (patch)
treea01913f01173d7f5c7e8ae8f8522ab7331b62ac8 /Doc/tools
parent57873af35aad98c6428b1718aaee4b16a82ea3f5 (diff)
downloadcpython-95e4431804587a0c9d464bb7b3d5f3057bbeaccd.zip
cpython-95e4431804587a0c9d464bb7b3d5f3057bbeaccd.tar.gz
cpython-95e4431804587a0c9d464bb7b3d5f3057bbeaccd.tar.bz2
bpo-20364: Improve sqlite3 placeholder docs (GH-25003)
(cherry picked from commit 3386ca0b36327afeef8d7eff277b2aed1030c08d) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
Diffstat (limited to 'Doc/tools')
-rw-r--r--Doc/tools/susp-ignored.csv4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/tools/susp-ignored.csv b/Doc/tools/susp-ignored.csv
index 9f0c42a..19b84c6 100644
--- a/Doc/tools/susp-ignored.csv
+++ b/Doc/tools/susp-ignored.csv
@@ -211,9 +211,9 @@ 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,,:age,"cur.execute(""select * from people where name_last=:who and age=:age"", {""who"": who, ""age"": age})"
+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,,:memory,
-library/sqlite3,,:who,"cur.execute(""select * from people where name_last=:who and age=:age"", {""who"": who, ""age"": age})"
library/sqlite3,,:path,"db = sqlite3.connect('file:path/to/database?mode=ro', uri=True)"
library/ssl,,:My,"Organizational Unit Name (eg, section) []:My Group"
library/ssl,,:My,"Organization Name (eg, company) [Internet Widgits Pty Ltd]:My Organization, Inc."