Add the item at the index of a list
(self, index: int, item: Any)
| 133 | self._operations.append(_operation("Prepend", self._location, value=item)) |
| 134 | |
| 135 | def insert(self, index: int, item: Any) -> None: |
| 136 | """Add the item at the index of a list""" |
| 137 | self._operations.append( |
| 138 | _operation("Insert", self._location, value=item, index=index) |
| 139 | ) |
| 140 | |
| 141 | def clear(self) -> None: |
| 142 | """Remove all items in a list""" |