Issue #13491: Fix many errors in sqlite3 documentation

Initial patch by Johannes Vogel.
This commit is contained in:
Petri Lehtinen 2012-02-15 22:17:21 +02:00
parent 2640b52237
commit 1ca93954e1
10 changed files with 29 additions and 52 deletions

View file

@ -7,5 +7,5 @@ def md5sum(t):
con = sqlite3.connect(":memory:")
con.create_function("md5", 1, md5sum)
cur = con.cursor()
cur.execute("select md5(?)", ("foo",))
cur.execute("select md5(?)", (b"foo",))
print(cur.fetchone()[0])