def __getitem__(self, idx):
return self._value[idx]<EOL>
Retrieve an item from a ``ListVariable`` instance.

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

:returns: The value at the designated index.