pop# EntityList.pop(index=-1, /)# Remove and return item at index (default last). Raises IndexError if list is empty or index is out of range.