(topgrp)
Iterate through all (sub-) groups of topgrp, similar to os.walktree.
Iterate through all (sub-) groups of topgrp, similar to os.walktree.
Iterate through all ( sub - ) groups of topgrp similar to os . walktree .
def _walk_grps(topgrp):
    """Iterate through all (sub-) groups of topgrp, similar to os.walktree.

    """
    yield topgrp.groups.values()
    for grp in topgrp.groups.values():
        yield from _walk_grps(grp)
def _walk_grps ( topgrp ) : yield topgrp . groups . values ( ) for grp in topgrp . groups . values ( ) : yield from _walk_grps ( grp )