Home
last modified time | relevance | path

Searched refs:isabstract (Results 1 – 11 of 11) sorted by relevance

/third_party/python/Lib/test/libregrtest/
Drefleak.py5 from inspect import isabstract
53 if not isabstract(abc):
174 abs_classes = filter(isabstract, abs_classes)
/third_party/python/Lib/test/
Dtest_abc.py13 from inspect import isabstract
181 self.assertTrue(isabstract(C))
186 self.assertTrue(isabstract(D))
191 self.assertFalse(isabstract(E))
197 self.assertTrue(isabstract(F))
Dtest_inspect.py278 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))
Dtest_dataclasses.py3557 self.assertFalse(inspect.isabstract(Date))
3572 self.assertTrue(inspect.isabstract(Date))
/third_party/mbedtls/scripts/mbedtls_dev/
Dtest_data_generation.py144 if issubclass(cls, BaseTest) and not inspect.isabstract(cls):
/third_party/python/Objects/
Dobject.c852 PyObject* isabstract; in _PyObject_IsAbstract() local
857 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()
/third_party/python/Misc/NEWS.d/
D3.6.2rc1.rst322 inspect.isabstract() now works during __init_subclass__. Patch by Nate
D3.7.0a1.rst2862 inspect.isabstract() now works during __init_subclass__. Patch by Nate
/third_party/python/Lib/
Dinspect.py420 def isabstract(object): function
/third_party/python/Doc/library/
Dinspect.rst415 .. function:: isabstract(object)
/third_party/python/Doc/whatsnew/
D2.6.rst2007 and :func:`isabstract`.