def iter_child_nodes(node):
    for name, field in iter_fields(node):
        if isinstance(field, AST):
            yield field
        elif isinstance(field, list):
            for item in field:
                if isinstance(item, AST):
                    yield item
Yield all direct child nodes of *node*, that is, all fields that are nodes
dataset/ETHPy150Open eBay/restcommander/play-1.2.4/python/Lib/ast.py/iter_child_nodes