(&self, other: PyObjectRef, vm: &VirtualMachine)
| 372 | } |
| 373 | |
| 374 | fn __or__(&self, other: PyObjectRef, vm: &VirtualMachine) -> PyResult { |
| 375 | let other_dict: Result<PyDictRef, _> = other.downcast(); |
| 376 | if let Ok(other) = other_dict { |
| 377 | let self_cp = self.copy(); |
| 378 | self_cp.merge_dict(other, vm)?; |
| 379 | return Ok(self_cp.into_pyobject(vm)); |
| 380 | } |
| 381 | Ok(vm.ctx.not_implemented()) |
| 382 | } |
| 383 | |
| 384 | #[pymethod] |
| 385 | fn pop( |
nothing calls this directly
no test coverage detected