(&mut self, idx: isize)
| 40 | } |
| 41 | |
| 42 | fn __delitem__(&mut self, idx: isize) -> PyResult<()> { |
| 43 | let len = self.as_ref().len(); |
| 44 | let idx = cvt_idx(len, idx); |
| 45 | self.as_mut().remove(idx); |
| 46 | Ok(()) |
| 47 | } |
| 48 | |
| 49 | fn __concat__(&self, other: Py<PyCowList>) -> PyResult<PyObject> { |
| 50 | let gil = Python::acquire_gil(); |