def extract_vtodos(calendars):
    """Filter out vtodos from an iterator over calendars.

    :param calendars: Iterator over (href, calendar) tuples
    :return: Iterator over Calendar subcomponents
    """
    for href, calendar in calendars:
        for component in calendar.subcomponents:
            if component.name == 'VTODO':
                yield component
