def pop(self, index=-<NUM_LIT:1>):
<EOL>value = self._list.pop(index)<EOL>self._set.remove(value)<EOL>return value<EOL>
Remove and return item at *index* (default last).  Raises IndexError if
set is empty or index is out of range.  Negative indexes are supported,
as for slice indices.