(
&self,
x: PyObjectRef,
range: OptionalRangeArgs,
vm: &VirtualMachine,
)
| 898 | |
| 899 | #[pymethod] |
| 900 | fn index( |
| 901 | &self, |
| 902 | x: PyObjectRef, |
| 903 | range: OptionalRangeArgs, |
| 904 | vm: &VirtualMachine, |
| 905 | ) -> PyResult<usize> { |
| 906 | let (start, stop) = range.saturate(self.__len__(), vm)?; |
| 907 | self.read().index(x, start, stop, vm) |
| 908 | } |
| 909 | |
| 910 | #[pymethod] |
| 911 | fn insert(zelf: &Py<Self>, i: isize, x: PyObjectRef, vm: &VirtualMachine) -> PyResult<()> { |
no test coverage detected