(&'a self, vm: &'a VirtualMachine)
| 114 | } |
| 115 | |
| 116 | pub(crate) fn step_ref<'a>(&'a self, vm: &'a VirtualMachine) -> &'a PyObject { |
| 117 | match &self.step { |
| 118 | Some(v) => v, |
| 119 | None => vm.ctx.none.as_object(), |
| 120 | } |
| 121 | } |
| 122 | |
| 123 | pub fn to_saturated(&self, vm: &VirtualMachine) -> PyResult<SaturatedSlice> { |
| 124 | SaturatedSlice::with_slice(self, vm) |
no test coverage detected