

def iterate_all_nodes(self, node=None):
    'Generator to iterate over all nodes from `node` and down whether\n        expanded or not. If `node` is `None`, the generator start with\n        :attr:`root`.\n        '
    if (not node):
        node = self.root
    (yield node)
    f = self.iterate_all_nodes
    for cnode in node.nodes:
        for ynode in cnode(cnode):
            (yield ynode)

dataset/ETHPy150Open kivy/kivy/kivy/uix/treeview.py TreeView.iterate_all_nodes/VarMisuse@54/129 `f`->`cnode`