synapse/util/caches/treecache.py
def iterate_tree_cache_entry(d):
    """Helper function to iterate over the leaves of a tree, i.e. a dict of that
    can contain dicts.
    """
    if isinstance(d, dict):
        for value_d in d.itervalues():
            for value in iterate_tree_cache_entry(value_d):
                yield value
    else:
        if isinstance(d, _Entry):
            yield d.value
        else:
            yield d
Helper function to iterate over the leaves of a tree, i.e. a dict of that
    can contain dicts.
    
Helper function to iterate over the leaves of a tree, i.e. a dict of that
can contain dicts.
Helper function to iterate over the leaves of a tree i . e . a dict of that can contain dicts .
def iterate_tree_cache_entry(d):
    if isinstance(d, dict):
        for value_d in d.itervalues():
            for value in iterate_tree_cache_entry(value_d):
                yield value
    else:
        if isinstance(d, _Entry):
            yield d.value
        else:
            yield d
def iterate_tree_cache_entry ( d ) : if isinstance ( d , dict ) : for value_d in d . itervalues ( ) : for value in iterate_tree_cache_entry ( value_d ) : yield value else : if isinstance ( d , _Entry ) : yield d . value else : yield d
Helper function to iterate over the leaves of a tree, i.e.
Helper function to iterate over the leaves of a tree i . e .
"""Helper function to iterate over the leaves of a tree, i.e. a dict of that
    can contain dicts.
    """
d