human
Complete this python program:
def handle_star(next, token):
assistant
#Here is the Python code you requested.

    """
    """
    def select(result):
        for node in result:
            for name in node.child_attrs:
                for child in iterchildren(node, name):
                    (yield child)
    return select