summaryrefslogtreecommitdiff
path: root/Doc/library/sqlite3.rst
diff options
context:
space:
mode:
authorPetri Lehtinen <petri@digip.org>2012-02-09 21:09:03 +0200
committerPetri Lehtinen <petri@digip.org>2012-02-09 21:09:03 +0200
commitbc35bebb458c6d3ad74adaf0d75f5156ab89fec9 (patch)
tree727e472a4ba702f48fb42d4b7246edc529d1aa67 /Doc/library/sqlite3.rst
parentf0f9679d5ce6b65f4b41f1c42b24c6ab43923a41 (diff)
downloadcpython-git-bc35bebb458c6d3ad74adaf0d75f5156ab89fec9.tar.gz
Undocument and clean up sqlite3.OptimizedUnicode
Closes #13921.
Diffstat (limited to 'Doc/library/sqlite3.rst')
-rw-r--r--Doc/library/sqlite3.rst4
1 files changed, 0 insertions, 4 deletions
diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst
index f3acdc51f8..6fd239e95f 100644
--- a/Doc/library/sqlite3.rst
+++ b/Doc/library/sqlite3.rst
@@ -436,10 +436,6 @@ Connection Objects
:mod:`sqlite3` module will return Unicode objects for ``TEXT``. If you want to
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
parameter and returns the resulting object.