Method
__reduce__
(&self, vm: &VirtualMachine)
Source from the content-addressed store, hash-verified
| 198 | |
| 199 | #[pymethod] |
| 200 | fn __reduce__(&self, vm: &VirtualMachine) -> PyTupleRef { |
| 201 | let func = builtins_iter(vm); |
| 202 | self.internal.lock().reduce( |
| 203 | func, |
| 204 | |x| x.clone(), |
| 205 | |vm| vm.ctx.empty_tuple.clone().into(), |
| 206 | vm, |
| 207 | ) |
| 208 | } |
| 209 | |
| 210 | #[pymethod] |
| 211 | fn __setstate__(&self, state: PyObjectRef, vm: &VirtualMachine) -> PyResult<()> { |
Callers
nothing calls this directly
Tested by
no test coverage detected