Searched defs:isabstract (Results 1 - 6 of 6) sorted by relevance

/external/python/cpython3/Lib/test/libregrtest/
H A Drefleak.py6 from inspect import isabstract namespace
66 if not isabstract(abc):
147 if not isabstract(abc):
/external/python/cpython2/Lib/test/
H A Dtest_abc.py10 from inspect import isabstract namespace
47 self.assertTrue(isabstract(C))
52 self.assertTrue(isabstract(D))
57 self.assertFalse(isabstract(E))
63 self.assertTrue(isabstract(F))
/external/python/cpython3/Lib/test/
H A Dtest_abc.py10 from inspect import isabstract namespace
159 self.assertTrue(isabstract(C))
164 self.assertTrue(isabstract(D))
169 self.assertFalse(isabstract(E))
175 self.assertTrue(isabstract(F))
/external/python/cpython2/Lib/
H A Dinspect.py242 def isabstract(object): function
/external/python/cpython3/Objects/
H A Dobject.c828 PyObject* isabstract; local
833 isabstract = _PyObject_GetAttrId(obj, &PyId___isabstractmethod__);
834 if (isabstract == NULL) {
841 res = PyObject_IsTrue(isabstract);
842 Py_DECREF(isabstract);
/external/python/cpython3/Lib/
H A Dinspect.py286 def isabstract(object): function

Completed in 238 milliseconds