Merge from 3.5
This commit is contained in:
commit
4762d5d5d1
|
@ -489,10 +489,6 @@ Connection Objects
|
||||||
:mod:`sqlite3` module will return Unicode objects for ``TEXT``. If you want to
|
:mod:`sqlite3` module will return Unicode objects for ``TEXT``. If you want to
|
||||||
return bytestrings instead, you can set it to :class:`bytes`.
|
return bytestrings instead, you can set it to :class:`bytes`.
|
||||||
|
|
||||||
For efficiency reasons, there's also a way to return :class:`str` objects
|
|
||||||
only for non-ASCII data, and :class:`bytes` otherwise. To activate it, set
|
|
||||||
this attribute to :const:`sqlite3.OptimizedUnicode`.
|
|
||||||
|
|
||||||
You can also set it to any other callable that accepts a single bytestring
|
You can also set it to any other callable that accepts a single bytestring
|
||||||
parameter and returns the resulting object.
|
parameter and returns the resulting object.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue