def __delitem__(self, idx):
del self._value[idx]<EOL>self._rebuild()<EOL>
Delete an item from the ``ListVariable`` instance.

:param idx: The index or index-like object (e.g., slice) to
            delete.