(self, index: int, other: t.Any)
| 148 | return self.get_value(other) |
| 149 | |
| 150 | def insert(self, index: int, other: t.Any) -> None: |
| 151 | if not isinstance(index, int): |
| 152 | raise TypeError("An integer is required") |
| 153 | self._inserts.append((index, other)) |
| 154 | |
| 155 | # dict methods |
| 156 | # update is used for both dict and set |