Remove object from a list of objects in python,my_list.pop(2)