aboutsummaryrefslogtreecommitdiff
path: root/docs/examples.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples.rst')
-rw-r--r--docs/examples.rst9
1 files changed, 6 insertions, 3 deletions
diff --git a/docs/examples.rst b/docs/examples.rst
index 86b28b2..34d64cc 100644
--- a/docs/examples.rst
+++ b/docs/examples.rst
@@ -320,11 +320,14 @@ Everyday in January, for 3 years.
Same thing, in another way.
.. doctest:: rrule
+ :options: +NORMALIZE_WHITESPACE, +ELLIPSIS
>>> list(rrule(DAILY, bymonth=1,
- dtstart=parse("19980101T090000"),
- until=parse("20000131T090000")))
- (...)
+ ... dtstart=parse("19980101T090000"),
+ ... until=parse("20000131T090000")))
+ [datetime.datetime(1998, 1, 1, 9, 0),
+ ...
+ datetime.datetime(2000, 1, 31, 9, 0)]
Weekly for 10 occurrences.