(zelf: &Py<Self>, vm: &VirtualMachine)
| 1178 | |
| 1179 | impl Hashable for PyBoundMethod { |
| 1180 | fn hash(zelf: &Py<Self>, vm: &VirtualMachine) -> PyResult<PyHash> { |
| 1181 | let self_hash = crate::common::hash::hash_object_id_raw(zelf.object.get_id()); |
| 1182 | let func_hash = zelf.function.hash(vm)?; |
| 1183 | Ok(crate::common::hash::fix_sentinel(self_hash ^ func_hash)) |
| 1184 | } |
| 1185 | } |
| 1186 | |
| 1187 | impl GetAttr for PyBoundMethod { |
nothing calls this directly
no test coverage detected