(&'a self, vm: &'a VirtualMachine)
| 97 | } |
| 98 | |
| 99 | pub(crate) fn start_ref<'a>(&'a self, vm: &'a VirtualMachine) -> &'a PyObject { |
| 100 | match &self.start { |
| 101 | Some(v) => v, |
| 102 | None => vm.ctx.none.as_object(), |
| 103 | } |
| 104 | } |
| 105 | |
| 106 | #[pygetset] |
| 107 | pub(crate) fn stop(&self, _vm: &VirtualMachine) -> PyObjectRef { |
no test coverage detected