class Nth(object):

    def __init__(self, n):
        self.n = n

def itervalues(self, x):
    for a, b in enumerate(islice(x, self.n - 1, None, self.n)):
        self.nout = a
yield a, b
Can I yield from an instance method