Use yield from in items() function