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
Removes and returns an item at a given index. Similar to list.pop().
deps/protobuf/python/google/protobuf/internal/containers.py