(&self, other: &Self)
| 1241 | |
| 1242 | impl Py<PyType> { |
| 1243 | pub(crate) fn is_subtype(&self, other: &Self) -> bool { |
| 1244 | is_subtype_with_mro(&self.mro.read(), self, other) |
| 1245 | } |
| 1246 | |
| 1247 | /// Equivalent to CPython's PyType_CheckExact macro |
| 1248 | /// Checks if obj is exactly a type (not a subclass) |
no test coverage detected