summaryrefslogtreecommitdiff
path: root/doc/src/tz.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/tz.rst')
-rw-r--r--doc/src/tz.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/src/tz.rst b/doc/src/tz.rst
index 06333f8..c1bd5ff 100644
--- a/doc/src/tz.rst
+++ b/doc/src/tz.rst
@@ -5,6 +5,10 @@
.. module:: psycopg2.tz
+.. deprecated:: 2.9
+ The module will be dropped in psycopg 2.10. Use `datetime.timezone`
+ instead.
+
This module holds two different tzinfo implementations that can be used as the
`tzinfo` argument to `~datetime.datetime` constructors, directly passed to
Psycopg functions or used to set the `cursor.tzinfo_factory` attribute in