def walk(node):
    from collections import deque
    todo = deque([node])
    while todo:
        node = todo.popleft()
        todo.extend(iter_child_nodes(node))
        yield node
Recursively yield all child nodes of *node*, in no specified order.  This is
dataset/ETHPy150Open eBay/restcommander/play-1.2.4/python/Lib/ast.py/walk