From abd650fad42009f635c6ebadf774f4221d54ee23 Mon Sep 17 00:00:00 2001 From: Michael Twomey Date: Thu, 27 Feb 2014 16:43:04 +0000 Subject: Adding API reference to docs --- docs/index.rst | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'docs/index.rst') diff --git a/docs/index.rst b/docs/index.rst index 51ec271..15e6a4a 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -10,7 +10,7 @@ This module parses the most common forms of ISO 8601 date strings (e.g. 2007-01- >>> import iso8601 >>> iso8601.parse_date("2007-01-25T12:00:00Z") -datetime.datetime(2007, 1, 25, 12, 0, tzinfo=) +datetime.datetime(2007, 1, 25, 12, 0, tzinfo=) >>> This module is released under a MIT license. @@ -66,3 +66,11 @@ To install simply use pip:: pip install iso8601 + +API +=== + +.. autofunction:: iso8601.parse_date + +.. autoexception:: iso8601.ParseError + -- cgit v1.2.1