summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorPetri Lehtinen <petri@digip.org>2013-02-26 19:32:02 (GMT)
committerPetri Lehtinen <petri@digip.org>2013-02-26 19:38:17 (GMT)
commit5f794098898b49650b2ef6a0c4f48aa0d03b0298 (patch)
tree9ec7e541c7aefe6c86756138b4b15a47ced052eb /Doc
parent7aaa1ef8580660eb6ba94a48ffaf76acbc75a8a6 (diff)
downloadcpython-5f794098898b49650b2ef6a0c4f48aa0d03b0298.zip
cpython-5f794098898b49650b2ef6a0c4f48aa0d03b0298.tar.gz
cpython-5f794098898b49650b2ef6a0c4f48aa0d03b0298.tar.bz2
Issue #14720: Enhance sqlite3 microsecond conversion, document its behavior
Diffstat (limited to 'Doc')
-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 0d7baef..eeb9666 100644
--- a/Doc/library/sqlite3.rst
+++ b/Doc/library/sqlite3.rst
@@ -814,6 +814,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: