<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def del_object_from_parent(self):
 """ Delete object from parent object. """

        if self.parent:
            self.parent.objects.pop(self.ref)