def iter_fields(node):
    for field in node._fields:
        try:
            yield field, getattr(node, field)
        except AttributeError:
            pass
Prepare the private flag for the index.
dataset/ETHPy150Open kleientertainment/ds_mod_tools/pkg/win32/Python27/Lib/ast.py/iter_fields--crossover with--dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/reviews/search_indexes.py/ReviewRequestIndex.prepare_private