def remove_from_parent(self):
if self.parent:<EOL><INDENT>self.parent._children.remove(self)<EOL>self.parent._invalidate_time_caches()<EOL>self.parent = None<EOL><DEDENT>
Removes this frame from its parent, and nulls the parent link