(&self)
| 21 | impl PyObject { |
| 22 | #[inline] |
| 23 | pub const fn number(&self) -> PyNumber<'_> { |
| 24 | PyNumber { obj: self } |
| 25 | } |
| 26 | |
| 27 | pub fn try_index_opt(&self, vm: &VirtualMachine) -> Option<PyResult<PyIntRef>> { |
| 28 | if let Some(i) = self.downcast_ref_if_exact::<PyInt>(vm) { |
no outgoing calls
no test coverage detected