From e7512e2a209f7e0d204512983e4d3453f47da3af Mon Sep 17 00:00:00 2001 From: Konsta Vesterinen Date: Tue, 21 Oct 2014 15:02:18 +0300 Subject: [PATCH] Fix another code example --- README.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index b54bc57..130ea99 100644 --- a/README.rst +++ b/README.rst @@ -96,9 +96,10 @@ interval for given bounds. >>> interval = Interval([date(2000, 1, 1), inf]) >>> interval - DateInterval('[2000-1-1,)') + DateInterval('[2000-01-01,]') >>> interval.type - date + + You can also create interval subtypes directly (this is also faster than using ``Interval``).