summaryrefslogtreecommitdiffstats
path: root/Doc/includes/sqlite3/execute_2.py
diff options
context:
space:
mode:
authorPetri Lehtinen <petri@digip.org>2012-02-15 20:22:34 (GMT)
committerPetri Lehtinen <petri@digip.org>2012-02-15 20:22:34 (GMT)
commitbe2cf338e9baef1f2479a33a8c7b5552bf9bd86f (patch)
treead5bfa3bbfe0db0e65b25eb5ef805fbf0e0b226b /Doc/includes/sqlite3/execute_2.py
parent482ee66cb7075b917a0a93051536ed0c10586447 (diff)
parent1ca93954e17e4f6f1230306997badbda3e5c68bc (diff)
downloadcpython-be2cf338e9baef1f2479a33a8c7b5552bf9bd86f.zip
cpython-be2cf338e9baef1f2479a33a8c7b5552bf9bd86f.tar.gz
cpython-be2cf338e9baef1f2479a33a8c7b5552bf9bd86f.tar.bz2
Merge branch '3.2'
Issue #13491.
Diffstat (limited to 'Doc/includes/sqlite3/execute_2.py')
-rw-r--r--Doc/includes/sqlite3/execute_2.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/Doc/includes/sqlite3/execute_2.py b/Doc/includes/sqlite3/execute_2.py
deleted file mode 100644
index 84734f9..0000000
--- a/Doc/includes/sqlite3/execute_2.py
+++ /dev/null
@@ -1,12 +0,0 @@
-import sqlite3
-
-con = sqlite3.connect("mydb")
-
-cur = con.cursor()
-
-who = "Yeltsin"
-age = 72
-
-cur.execute("select name_last, age from people where name_last=:who and age=:age",
- {"who": who, "age": age})
-print(cur.fetchone())