summaryrefslogtreecommitdiffstats
path: root/Doc/library/sqlite3.rst
diff options
context:
space:
mode:
authorPetri Lehtinen <petri@digip.org>2013-02-26 19:46:12 (GMT)
committerPetri Lehtinen <petri@digip.org>2013-02-26 19:46:12 (GMT)
commite55aa69efc048ef4a9eb7525ad2fd74fd3dfbf05 (patch)
treeb05e5b83a130f4e04b0e4b1e18526a20b370aa2c /Doc/library/sqlite3.rst
parent8ff7f7207c706e3c931c0f2c80923a472ef2e351 (diff)
parent6401ad66a76a2e447aad0c0aed173926b66acfd9 (diff)
downloadcpython-e55aa69efc048ef4a9eb7525ad2fd74fd3dfbf05.zip
cpython-e55aa69efc048ef4a9eb7525ad2fd74fd3dfbf05.tar.gz
cpython-e55aa69efc048ef4a9eb7525ad2fd74fd3dfbf05.tar.bz2
Issue #14720: Enhance sqlite3 microsecond conversion, document its behavior
Diffstat (limited to 'Doc/library/sqlite3.rst')
-rw-r--r--Doc/library/sqlite3.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst
index 7bee73f..529dc94 100644
--- a/Doc/library/sqlite3.rst
+++ b/Doc/library/sqlite3.rst
@@ -842,6 +842,10 @@ The following example demonstrates this.
.. literalinclude:: ../includes/sqlite3/pysqlite_datetime.py
+If a timestamp stored in SQLite has a fractional part longer than 6
+numbers, its value will be truncated to microsecond precision by the
+timestamp converter.
+
.. _sqlite3-controlling-transactions: