Function
hash_iter
(
iter: I,
vm: &VirtualMachine,
)
Source from the content-addressed store, hash-verified
| 8 | }; |
| 9 | |
| 10 | pub fn hash_iter<'a, I: IntoIterator<Item = &'a PyObjectRef>>( |
| 11 | iter: I, |
| 12 | vm: &VirtualMachine, |
| 13 | ) -> PyResult<rustpython_common::hash::PyHash> { |
| 14 | vm.state.hash_secret.hash_iter(iter, |obj| obj.hash(vm)) |
| 15 | } |
| 16 | |
| 17 | impl ToPyObject for core::convert::Infallible { |
| 18 | fn to_pyobject(self, _vm: &VirtualMachine) -> PyObjectRef { |
Callers
nothing calls this directly
Tested by
no test coverage detected