(self, vm: &VirtualMachine)
| 180 | } |
| 181 | |
| 182 | pub fn items(self, vm: &VirtualMachine) -> PyResult { |
| 183 | if let Some(dict) = self.obj.downcast_ref_if_exact::<PyDict>(vm) { |
| 184 | PyDictItems::new(dict.to_owned()).to_pyresult(vm) |
| 185 | } else { |
| 186 | self.method_output_as_list(identifier!(vm, items), vm) |
| 187 | } |
| 188 | } |
| 189 | |
| 190 | fn method_output_as_list( |
| 191 | self, |
no test coverage detected