def xafter(self, dt, count=None, inc=False):
if self._cache_complete:<EOL><INDENT>gen = self._cache<EOL><DEDENT>else:<EOL><INDENT>gen = self<EOL><DEDENT>if inc:<EOL><INDENT>def comp(dc, dtc): return dc >= dtc<EOL><DEDENT>else:<EOL><INDENT>def comp(dc, dtc): return dc > dtc<EOL><DEDENT>n = <NUM_LIT:0><EOL>for d in gen:<EOL><INDENT>if comp(d, dt):<EOL><INDENT>if count is not None:<EOL><INDENT>n += <NUM_LIT:1><EOL>if n > count:<EOL><INDENT>break<EOL><DEDENT><DEDENT>yield d<EOL><DEDENT><DEDENT>
Generator which yields up to `count` recurrences after the given
datetime instance, equivalent to `after`.

:param dt:
    The datetime at which to start generating recurrences.

:param count:
    The maximum number of recurrences to generate. If `None` (default),
    dates are generated until the recurrence rule is exhausted.

:param inc:
    If `dt` is an instance of the rule and `inc` is `True`, it is
    included in the output.

:yields: Yields a sequence of `datetime` objects.