Home
last modified time | relevance | path

Searched refs:PyObject_IsSubclass (Results 1 – 24 of 24) sorted by relevance

/external/python/cpython2/Doc/c-api/
Dtype.rst76 :c:func:`PyObject_IsSubclass` to do the same check that :func:`issubclass`
Dobject.rst208 *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/
Derrors.c119 res = PyObject_IsSubclass(err, exc); in PyErr_GivenExceptionMatches()
178 if (!inclass || !PyObject_IsSubclass(inclass, type)) { in PyErr_NormalizeException()
D_warnings.c147 is_subclass = PyObject_IsSubclass(category, cat); in get_filter()
575 rc = PyObject_IsSubclass(category, PyExc_Warning); in get_category()
Dbltinmodule.c2488 retval = PyObject_IsSubclass(derived, cls); in builtin_issubclass()
/external/python/cpython3/Doc/c-api/
Dtype.rst73 :c:func:`PyObject_IsSubclass` to do the same check that :func:`issubclass`
Dobject.rst201 .. c:function:: int PyObject_IsSubclass(PyObject *derived, PyObject *cls)
/external/python/cpython3/Python/
Derrors.c257 is_subclass = PyObject_IsSubclass(inclass, type); in PyErr_NormalizeException()
750 issubclass = PyObject_IsSubclass(exception, PyExc_ImportError); in PyErr_SetImportErrorSubclass()
D_warnings.c180 is_subclass = PyObject_IsSubclass(category, cat); in get_filter()
777 rc = PyObject_IsSubclass(category, PyExc_Warning); in get_category()
Dbltinmodule.c2418 retval = PyObject_IsSubclass(cls, class_or_tuple); in builtin_issubclass_impl()
/external/python/cpython2/Include/
Dabstract.h1377 PyAPI_FUNC(int) PyObject_IsSubclass(PyObject *object, PyObject *typeorclass);
/external/python/cpython3/Include/
Dabstract.h1351 PyAPI_FUNC(int) PyObject_IsSubclass(PyObject *object, PyObject *typeorclass);
/external/python/cpython3/PC/
Dpython3.def480 PyObject_IsSubclass=python36.PyObject_IsSubclass
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tfe_src.cc620 if (PyObject_IsSubclass(e, PyExc_Exception) <= 0) { in TFE_Py_RegisterExceptionClass()
637 if (PyObject_IsSubclass(e, PyExc_Exception) <= 0) { in TFE_Py_RegisterFallbackExceptionClass()
/external/python/cpython2/PC/os2emx/
Dpython27.def176 "PyObject_IsSubclass"
/external/python/cpython2/Objects/
Dabstract.c3023 PyObject_IsSubclass(PyObject *derived, PyObject *cls) function
3037 r = PyObject_IsSubclass(derived, item);
Dclassobject.c2621 int ok = PyObject_IsSubclass(cls, PyMethod_GET_CLASS(meth)); in instancemethod_descr_get()
/external/python/cpython3/Objects/
Dabstract.c3042 PyObject_IsSubclass(PyObject *derived, PyObject *cls) in PyObject_IsSubclass() function
3065 r = PyObject_IsSubclass(derived, item); in PyObject_IsSubclass()
/external/python/cpython3/Modules/_ctypes/
D_ctypes.c1021 if (PyObject_IsSubclass(v->proto, typedict->proto)) { in PyCPointerType_from_param()
/external/python/cpython2/Modules/_ctypes/
D_ctypes.c1061 if (PyObject_IsSubclass(v->proto, typedict->proto)) { in PyCPointerType_from_param()
/external/python/cpython3/Doc/whatsnew/
D3.5.rst2148 The :c:func:`PyObject_IsInstance` and :c:func:`PyObject_IsSubclass`
/external/python/cpython3/Misc/
DNEWS6783 - Issue #22540: speed up `PyObject_IsInstance` and `PyObject_IsSubclass` in the
DHISTORY25100 - New abstract APIs PyObject_IsInstance(), PyObject_IsSubclass()
/external/python/cpython2/Misc/
DHISTORY7721 - New abstract APIs PyObject_IsInstance(), PyObject_IsSubclass()