This method defines the behavior of a del statement of this form:
dels[i]
Such a statement can be used either on objects that act
like sequences, where specifies the position of the
element to be deleted, or mapping objects (that is,
dictionary-like objects), where i is the key of the key-value
pair to be deleted.
i
The calling sequence is:
def __delitem__(self, i):
...