(self, key=-1)
return value
Removes and returns an item at a given index. Similar to list.pop().
Removes and returns an item at a given index. Similar to list.pop().
Removes and returns an item at a given index . Similar to list . pop () .
def pop(self, key=-1):
    """Removes and returns an item at a given index. Similar to list.pop()."""
    value = self._values[key]
    self.__delitem__(key)
    return value
def pop ( self , key = - 1 ) : value = self . _values [ key ] self . __delitem__ ( key ) return value