Searched refs:PyObject_IsSubclass (Results 1 – 11 of 11) sorted by relevance
/external/python/cpython2/Doc/c-api/ |
D | type.rst | 76 :c:func:`PyObject_IsSubclass` to do the same check that :func:`issubclass`
|
D | object.rst | 208 *A*, if *A* is *B*, :c:func:`PyObject_IsSubclass` returns true. If *A* and *B* 214 .. c:function:: int PyObject_IsSubclass(PyObject *derived, PyObject *cls)
|
/external/python/cpython2/Python/ |
D | errors.c | 119 res = PyObject_IsSubclass(err, exc); in PyErr_GivenExceptionMatches() 178 if (!inclass || !PyObject_IsSubclass(inclass, type)) { in PyErr_NormalizeException()
|
D | _warnings.c | 147 is_subclass = PyObject_IsSubclass(category, cat); in get_filter() 575 rc = PyObject_IsSubclass(category, PyExc_Warning); in get_category()
|
D | bltinmodule.c | 2488 retval = PyObject_IsSubclass(derived, cls); in builtin_issubclass()
|
/external/python/cpython2/Include/ |
D | abstract.h | 1377 PyAPI_FUNC(int) PyObject_IsSubclass(PyObject *object, PyObject *typeorclass);
|
/external/python/cpython2/PC/os2emx/ |
D | python27.def | 176 "PyObject_IsSubclass"
|
/external/python/cpython2/Objects/ |
D | abstract.c | 3023 PyObject_IsSubclass(PyObject *derived, PyObject *cls) function 3037 r = PyObject_IsSubclass(derived, item);
|
D | classobject.c | 2621 int ok = PyObject_IsSubclass(cls, PyMethod_GET_CLASS(meth)); in instancemethod_descr_get()
|
/external/python/cpython2/Modules/_ctypes/ |
D | _ctypes.c | 1061 if (PyObject_IsSubclass(v->proto, typedict->proto)) { in PyCPointerType_from_param()
|
/external/python/cpython2/Misc/ |
D | HISTORY | 7721 - New abstract APIs PyObject_IsInstance(), PyObject_IsSubclass()
|