def __setitem__(self, idx, value):
self._value[idx] = value<EOL>self._rebuild()<EOL>
Set an item on the ``ListVariable`` instance.

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