#1025 Document methods in `rrule` module

Open Daniel ffe4
Showing 1 of 3 files from the diff.
Other files ignored by Codecov

@@ -5,25 +5,26 @@
Loading
5 5
`iCalendar RFC <https://tools.ietf.org/html/rfc5545>`_,
6 6
including support for caching of results.
7 7
"""
8 -
import itertools
9 -
import datetime
10 8
import calendar
9 +
import datetime
10 +
import heapq
11 +
import itertools
11 12
import re
12 13
import sys
13 -
14 -
try:
15 -
    from math import gcd
16 -
except ImportError:
17 -
    from fractions import gcd
14 +
from functools import wraps
15 +
# For warning about deprecation of until and count
16 +
from warnings import warn
18 17
19 18
from six import advance_iterator, integer_types
19 +
20 20
from six.moves import _thread, range
21 -
import heapq
22 21
23 22
from ._common import weekday as weekdaybase
24 23
25 -
# For warning about deprecation of until and count
26 -
from warnings import warn
24 +
try:
25 +
    from math import gcd
26 +
except ImportError:
27 +
    from fractions import gcd
27 28
28 29
__all__ = ["rrule", "rruleset", "rrulestr",
29 30
           "YEARLY", "MONTHLY", "WEEKLY", "DAILY",
@@ -81,6 +82,7 @@
Loading
81 82
    Decorator for rruleset methods which may invalidate the
82 83
    cached length.
83 84
    """
85 +
    @wraps(f)
84 86
    def inner_func(self, *args, **kwargs):
85 87
        rv = f(self, *args, **kwargs)
86 88
        self._invalidate_cache()

Everything is accounted for!

No changes detected that need to be reviewed.
What changes does Codecov check for?
Lines, not adjusted in diff, that have changed coverage data.
Files that introduced coverage data that had none before.
Files that have missing coverage data that once were tracked.
Files Coverage
dateutil +<.01% 95.97%
Project Totals (31 files) 95.97%
Loading