mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
Issue #13491: Fix many errors in sqlite3 documentation
Initial patch by Johannes Vogel.
This commit is contained in:
parent
2640b52237
commit
1ca93954e1
10 changed files with 29 additions and 52 deletions
|
|
@ -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])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue