def METHOD_NAME(self):
    """Return next child in parent's children, or None."""
    if self.parent is None:
        return None
    for i, child in enumerate(self.parent.children):
        if child is self:
            try:
                return self.parent.children[i+1]
            except IndexError:
                return None