(self, traversal_type = ChildVisitResult.CONTINUE)
return iter(children)
Return an iterator for accessing the children of this cursor.
    This is a patched version of Cursor.get_children() but which is built on top of new traversal interface.
    See traverse() for more details.
Return an iterator for accessing the children of this cursor.
    This is a patched version of Cursor.get_children() but which is built on top of new traversal interface.
    See traverse() for more details.
Return an iterator for accessing the children of this cursor . This is a patched version of Cursor . get_children () but which is built on top of new traversal interface . See traverse () for more details .
def get_children_patched(self, traversal_type = ChildVisitResult.CONTINUE):
    """
    Return an iterator for accessing the children of this cursor.
    This is a patched version of Cursor.get_children() but which is built on top of new traversal interface.
    See traverse() for more details.
    """

    def visitor(child, parent, children):
        children.append(child)
        return traversal_type.value

    children = []
    traverse(self, children, visitor)
    return iter(children)
def get_children_patched ( self , traversal_type = ChildVisitResult . CONTINUE ) : def visitor ( child , parent , children ) : children . append ( child ) return traversal_type . value children = [ ] traverse ( self , children , visitor ) return iter ( children )