(&self, cls: &Py<PyType>)
| 579 | /// use this if `cls` is known to have not overridden the base __instancecheck__ magic method. |
| 580 | #[inline] |
| 581 | fn fast_isinstance(&self, cls: &Py<PyType>) -> bool { |
| 582 | self.class().fast_issubclass(cls) |
| 583 | } |
| 584 | } |
| 585 | |
| 586 | impl<T> AsObject for T where T: Borrow<PyObject> {} |