def pop ( self , index = - 1 ) : value = self . _list . pop ( index ) del self . _dict [ value ] return value
what do you use to delete the first occurrence of an item from the list? python
Remove and return the item at index .
def pop(self, index=-1):
		"""Remove and return the item at index."""
		value = self._list.pop(index)
		del self._dict[value]
		return value