'Yields frame that matches the function object starting from the top
of stack.'

def finditer(self, py_func):

    for frame in self:
        if (frame.func_id.func is py_func):
            (yield frame)
