pop#
- IndexSetND.pop(index=-1, /)#
Remove and return the element at a position index in the IndexSet.
- Parameters:
- indexint, default
-1(last element)
- indexint, default
- Returns:
- element
- Raises:
- IndexError
If the IndexSet is empty.
- IndexError
If position index is out of range.