Searched refs:isabstract (Results 1 – 16 of 16) sorted by relevance
10 from inspect import isabstract47 self.assertTrue(isabstract(C))52 self.assertTrue(isabstract(D))57 self.assertFalse(isabstract(E))63 self.assertTrue(isabstract(F))
146 self.assertTrue(inspect.isabstract(AbstractClassExample))147 self.assertFalse(inspect.isabstract(ClassExample))148 self.assertFalse(inspect.isabstract(a))149 self.assertFalse(inspect.isabstract(int))150 self.assertFalse(inspect.isabstract(5))
5 from inspect import isabstract50 if not isabstract(abc):171 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))
273 self.assertTrue(inspect.isabstract(AbstractClassExample))274 self.assertFalse(inspect.isabstract(ClassExample))275 self.assertFalse(inspect.isabstract(a))276 self.assertFalse(inspect.isabstract(int))277 self.assertFalse(inspect.isabstract(5))284 isabstract_checks.append(inspect.isabstract(cls))
832 PyObject* isabstract; in _PyObject_IsAbstract() local837 res = _PyObject_LookupAttrId(obj, &PyId___isabstractmethod__, &isabstract); in _PyObject_IsAbstract()839 res = PyObject_IsTrue(isabstract); in _PyObject_IsAbstract()840 Py_DECREF(isabstract); in _PyObject_IsAbstract()
242 def isabstract(object): function
322 inspect.isabstract() now works during __init_subclass__. Patch by Nate
2862 inspect.isabstract() now works during __init_subclass__. Patch by Nate
325 .. function:: isabstract(object)
302 def isabstract(object): function
409 .. function:: isabstract(object)
1344 Add inspect.isabstract(object) to fix bug #2223
1916 Make inspect.isabstract() return a boolean.
2003 and :func:`isabstract`.
2007 and :func:`isabstract`.