(zelf: &Py<Self>, _vm: &VirtualMachine)
| 449 | impl Hashable for PyFloat { |
| 450 | #[inline] |
| 451 | fn hash(zelf: &Py<Self>, _vm: &VirtualMachine) -> PyResult<hash::PyHash> { |
| 452 | Ok(hash::hash_float(zelf.to_f64()).unwrap_or_else(|| hash::hash_object_id(zelf.get_id()))) |
| 453 | } |
| 454 | } |
| 455 | |
| 456 | impl AsNumber for PyFloat { |
nothing calls this directly
no test coverage detected