(index: usize, inner: &[PyObjectRef])
| 453 | type Inner = [PyObjectRef]; |
| 454 | |
| 455 | fn do_get(index: usize, inner: &[PyObjectRef]) -> Option<&PyObject> { |
| 456 | inner.get(index).map(|r| r.as_ref()) |
| 457 | } |
| 458 | |
| 459 | fn do_lock(&self) -> impl core::ops::Deref<Target = [PyObjectRef]> { |
| 460 | self.borrow_vec() |