/external/python/cpython3/Modules/ |
D | _abc.c | 430 int result = PyObject_IsSubclass(subclass, self); in _abc__abc_register_impl() 440 result = PyObject_IsSubclass(self, subclass); in _abc__abc_register_impl() 678 int r = PyObject_IsSubclass(subclass, scls); in _abc__abc_subclasscheck_impl() 757 int r = PyObject_IsSubclass(subclass, rkey); in subclasscheck_check_registry()
|
/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 | 153 is_subclass = PyObject_IsSubclass(category, cat); in get_filter() 581 rc = PyObject_IsSubclass(category, PyExc_Warning); in get_category()
|
D | bltinmodule.c | 2499 retval = PyObject_IsSubclass(derived, cls); in builtin_issubclass()
|
/external/python/cpython3/Doc/c-api/ |
D | type.rst | 76 :c:func:`PyObject_IsSubclass` to do the same check that :func:`issubclass`
|
D | object.rst | 210 .. c:function:: int PyObject_IsSubclass(PyObject *derived, PyObject *cls)
|
/external/python/cpython3/Python/ |
D | errors.c | 263 is_subclass = PyObject_IsSubclass(inclass, type); in PyErr_NormalizeException() 756 issubclass = PyObject_IsSubclass(exception, PyExc_ImportError); in PyErr_SetImportErrorSubclass()
|
D | _warnings.c | 216 is_subclass = PyObject_IsSubclass(category, cat); in get_filter() 824 rc = PyObject_IsSubclass(category, PyExc_Warning); in get_category()
|
D | bltinmodule.c | 2531 retval = PyObject_IsSubclass(cls, class_or_tuple); in builtin_issubclass_impl()
|
/external/python/cpython2/Include/ |
D | abstract.h | 1377 PyAPI_FUNC(int) PyObject_IsSubclass(PyObject *object, PyObject *typeorclass);
|
/external/python/cpython3/Include/ |
D | abstract.h | 1083 PyAPI_FUNC(int) PyObject_IsSubclass(PyObject *object, PyObject *typeorclass);
|
/external/python/cpython3/PC/ |
D | python3.def | 480 PyObject_IsSubclass=python37.PyObject_IsSubclass
|
/external/python/cpython2/PC/os2emx/ |
D | python27.def | 176 "PyObject_IsSubclass"
|
/external/python/cpython3/Objects/ |
D | abstract.c | 2447 PyObject_IsSubclass(PyObject *derived, PyObject *cls) in PyObject_IsSubclass() function 2470 r = PyObject_IsSubclass(derived, item); in PyObject_IsSubclass()
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 1689 PyObject_IsSubclass:int::: 1690 PyObject_IsSubclass:PyObject*:derived:0: 1691 PyObject_IsSubclass:PyObject*:cls:0:
|
/external/python/cpython2/Objects/ |
D | abstract.c | 3020 PyObject_IsSubclass(PyObject *derived, PyObject *cls) function 3034 r = PyObject_IsSubclass(derived, item);
|
D | classobject.c | 2619 int ok = PyObject_IsSubclass(cls, PyMethod_GET_CLASS(meth)); in instancemethod_descr_get()
|
/external/tensorflow/tensorflow/python/eager/ |
D | pywrap_tfe_src.cc | 751 if (PyObject_IsSubclass(e, PyExc_Exception) <= 0) { in TFE_Py_RegisterExceptionClass() 785 if (PyObject_IsSubclass(e, PyExc_Exception) <= 0) { in TFE_Py_RegisterFallbackExceptionClass()
|
/external/python/cpython3/Modules/_ctypes/ |
D | _ctypes.c | 1097 if (PyObject_IsSubclass(v->proto, typedict->proto)) { in PyCPointerType_from_param()
|
/external/python/cpython2/Modules/_ctypes/ |
D | _ctypes.c | 1141 if (PyObject_IsSubclass(v->proto, typedict->proto)) { in PyCPointerType_from_param()
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.5.rst | 2148 The :c:func:`PyObject_IsInstance` and :c:func:`PyObject_IsSubclass`
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.5.0a1.rst | 254 speed up `PyObject_IsInstance` and `PyObject_IsSubclass` in the common case
|
/external/python/cpython2/Misc/ |
D | HISTORY | 7721 - New abstract APIs PyObject_IsInstance(), PyObject_IsSubclass()
|