'S.pop([index]) -> item -- remove and return item at index (default last).
Raise IndexError if list is empty or index is out of range.'

def pop(self, index=(-1)):

    v = self[index]
    del self[index]
    return v
