Determines if `subclass` is actually a subclass of `cls`, this doesn't call __subclasscheck__, so only use this if `cls` is known to have not overridden the base __subclasscheck__ magic method.
(&self, cls: &impl Borrow<PyObject>)
| 1254 | /// so only use this if `cls` is known to have not overridden the base __subclasscheck__ magic |
| 1255 | /// method. |
| 1256 | pub fn fast_issubclass(&self, cls: &impl Borrow<PyObject>) -> bool { |
| 1257 | self.as_object().is(cls.borrow()) || self.mro.read()[1..].iter().any(|c| c.is(cls.borrow())) |
| 1258 | } |
| 1259 | |
| 1260 | pub fn mro_map_collect<F, R>(&self, f: F) -> Vec<R> |
| 1261 | where |
no test coverage detected