summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Schwarz <felix.schwarz@oss.schwarz.eu>2016-02-12 11:04:29 +0100
committerFelix Schwarz <felix.schwarz@oss.schwarz.eu>2016-02-12 11:04:29 +0100
commita5687145d7b6816713d40cce743d0fa3a49fcdc6 (patch)
tree8dbb5679696b417520ea5b0d76529e2e6f37459e
parent7659c69c39af73ee36ee660f3dd2854766b4e1cf (diff)
downloadpyiso8601-fix-module-docstring.tar.gz
fix class reference for iso8601.Utc in module docstringfix-module-docstring
The reference to "iso8601.iso8601.Utc" is not wrong but not what Utc.__repr__() actually returns (since 29752e308996). In Python 3.2+ we use Python's UTC implementation (so we get a different __repr__() output) but I guess that won't confuse users too much.
-rw-r--r--iso8601/iso8601.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/iso8601/iso8601.py b/iso8601/iso8601.py
index 3ab0095..0c149f6 100644
--- a/iso8601/iso8601.py
+++ b/iso8601/iso8601.py
@@ -3,7 +3,7 @@
Basic usage:
>>> import iso8601
>>> iso8601.parse_date("2007-01-25T12:00:00Z")
-datetime.datetime(2007, 1, 25, 12, 0, tzinfo=<iso8601.iso8601.Utc ...>)
+datetime.datetime(2007, 1, 25, 12, 0, tzinfo=<iso8601.Utc ...>)
>>>
"""