mirror of
https://github.com/python/cpython.git
synced 2025-09-16 21:56:14 +00:00
Text files missing the SVN eol-style property.
This commit is contained in:
parent
cbd7b756e4
commit
1b38357094
27 changed files with 1427 additions and 1427 deletions
|
@ -1,11 +1,11 @@
|
|||
import sqlite3
|
||||
import md5
|
||||
|
||||
def md5sum(t):
|
||||
return md5.md5(t).hexdigest()
|
||||
|
||||
con = sqlite3.connect(":memory:")
|
||||
con.create_function("md5", 1, md5sum)
|
||||
cur = con.cursor()
|
||||
cur.execute("select md5(?)", ("foo",))
|
||||
print cur.fetchone()[0]
|
||||
import sqlite3
|
||||
import md5
|
||||
|
||||
def md5sum(t):
|
||||
return md5.md5(t).hexdigest()
|
||||
|
||||
con = sqlite3.connect(":memory:")
|
||||
con.create_function("md5", 1, md5sum)
|
||||
cur = con.cursor()
|
||||
cur.execute("select md5(?)", ("foo",))
|
||||
print cur.fetchone()[0]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue