Searched refs:isabstract (Results 1 – 11 of 11) sorted by relevance
5 from inspect import isabstract53 if not isabstract(abc):174 abs_classes = filter(isabstract, abs_classes)
13 from inspect import isabstract181 self.assertTrue(isabstract(C))186 self.assertTrue(isabstract(D))191 self.assertFalse(isabstract(E))197 self.assertTrue(isabstract(F))
278 self.assertTrue(inspect.isabstract(AbstractClassExample))279 self.assertFalse(inspect.isabstract(ClassExample))280 self.assertFalse(inspect.isabstract(a))281 self.assertFalse(inspect.isabstract(int))282 self.assertFalse(inspect.isabstract(5))289 isabstract_checks.append(inspect.isabstract(cls))
3557 self.assertFalse(inspect.isabstract(Date))3572 self.assertTrue(inspect.isabstract(Date))
144 if issubclass(cls, BaseTest) and not inspect.isabstract(cls):
852 PyObject* isabstract; in _PyObject_IsAbstract() local857 res = _PyObject_LookupAttrId(obj, &PyId___isabstractmethod__, &isabstract); in _PyObject_IsAbstract()859 res = PyObject_IsTrue(isabstract); in _PyObject_IsAbstract()860 Py_DECREF(isabstract); in _PyObject_IsAbstract()
322 inspect.isabstract() now works during __init_subclass__. Patch by Nate
2862 inspect.isabstract() now works during __init_subclass__. Patch by Nate
420 def isabstract(object): function
415 .. function:: isabstract(object)
2007 and :func:`isabstract`.