summaryrefslogtreecommitdiff
path: root/lib/tz.py
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2010-02-13 03:22:02 +0000
committerFederico Di Gregorio <fog@initd.org>2010-02-14 00:39:48 +0100
commit3789f8fb1763c2ea18035ca25b4a4ca6ed39de85 (patch)
treed4b64b3f2499e3383846f37d43d559d566a129f8 /lib/tz.py
parent6a4ff65b49cd87d699ba7efcdc6ead56405b8d2b (diff)
downloadpsycopg2-3789f8fb1763c2ea18035ca25b4a4ca6ed39de85.tar.gz
Added other info about tz module.
Diffstat (limited to 'lib/tz.py')
-rw-r--r--lib/tz.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/tz.py b/lib/tz.py
index 1584c28..9f078c7 100644
--- a/lib/tz.py
+++ b/lib/tz.py
@@ -34,9 +34,11 @@ ZERO = datetime.timedelta(0)
class FixedOffsetTimezone(datetime.tzinfo):
"""Fixed offset in minutes east from UTC.
- This is exactly the implementation found in Python 2.3.x documentation,
- with a small change to the __init__ method to allow for pickling and a
- default name in the form 'sHH:MM' ('s' is the sign.)
+ This is exactly the implementation__ found in Python 2.3.x documentation,
+ with a small change to the :meth:`!__init__` method to allow for pickling
+ and a default name in the form ``sHH:MM`` (``s`` is the sign.).
+
+ .. __: http://docs.python.org/library/datetime.html#datetime-tzinfo
"""
_name = None
_offset = ZERO