diff options
| author | Petri Lehtinen <petri@digip.org> | 2012-03-01 19:28:00 (GMT) |
|---|---|---|
| committer | Petri Lehtinen <petri@digip.org> | 2012-03-01 19:48:30 (GMT) |
| commit | a15a8d2a0c51d8f6269c843407f70df957454859 (patch) | |
| tree | d23ab6c907a76360271005dac0068e7c63b550b6 /Doc/includes/sqlite3/execute_2.py | |
| parent | c56bca31e9b7ac87a459a65680ee7ad454fd4f22 (diff) | |
| download | cpython-a15a8d2a0c51d8f6269c843407f70df957454859.zip cpython-a15a8d2a0c51d8f6269c843407f70df957454859.tar.gz cpython-a15a8d2a0c51d8f6269c843407f70df957454859.tar.bz2 | |
sqlite3: Port relevant documentation changes from 3.2
Initial patch by Johannes Vogel. Issue #13491.
Diffstat (limited to 'Doc/includes/sqlite3/execute_2.py')
| -rw-r--r-- | Doc/includes/sqlite3/execute_2.py | 12 |
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 df6c894..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() |
