Skip to content

Commit

Permalink
Fix another code example
Browse files Browse the repository at this point in the history
  • Loading branch information
kvesteri committed Oct 21, 2014
1 parent 9c7ac0a commit e7512e2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
<type 'datetime.date'>
You can also create interval subtypes directly (this is also faster than using
``Interval``).
Expand Down

0 comments on commit e7512e2

Please sign in to comment.