mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
builtin -> built-in.
This commit is contained in:
parent
9fa61bb37d
commit
d7d4fd7336
43 changed files with 82 additions and 83 deletions
|
@ -31,7 +31,7 @@ cur.execute("select ?", ("this is latin1 and would normally create errors" +
|
|||
row = cur.fetchone()
|
||||
assert type(row[0]) == unicode
|
||||
|
||||
# sqlite3 offers a builtin optimized text_factory that will return bytestring
|
||||
# sqlite3 offers a built-in optimized text_factory that will return bytestring
|
||||
# objects, if the data is in ASCII only, and otherwise return unicode objects
|
||||
con.text_factory = sqlite3.OptimizedUnicode
|
||||
cur.execute("select ?", (AUSTRIA,))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue