Home
last modified time | relevance | path

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

/third_party/python/Modules/
D_abc.c528 int result = PyObject_IsSubclass(subclass, self); in _abc__abc_register_impl()
538 result = PyObject_IsSubclass(self, subclass); in _abc__abc_register_impl()
785 int r = PyObject_IsSubclass(subclass, scls); in _abc__abc_subclasscheck_impl()
864 int r = PyObject_IsSubclass(subclass, rkey); in subclasscheck_check_registry()
/third_party/python/Include/
Dabstract.h862 PyAPI_FUNC(int) PyObject_IsSubclass(PyObject *object, PyObject *typeorclass);
/third_party/python/Python/
D_warnings.c350 is_subclass = PyObject_IsSubclass(category, cat); in get_filter()
927 rc = PyObject_IsSubclass(category, PyExc_Warning); in get_category()
Derrors.c349 is_subclass = PyObject_IsSubclass(inclass, type); in _PyErr_NormalizeException()
975 issubclass = PyObject_IsSubclass(exception, PyExc_ImportError); in PyErr_SetImportErrorSubclass()
Dbltinmodule.c2629 retval = PyObject_IsSubclass(cls, class_or_tuple); in builtin_issubclass_impl()
/third_party/python/Objects/
Dunionobject.c106 int res = PyObject_IsSubclass(instance, arg); in union_subclasscheck()
Dabstract.c2780 PyObject_IsSubclass(PyObject *derived, PyObject *cls) in PyObject_IsSubclass() function
/third_party/python/Doc/c-api/
Dtype.rst78 :c:func:`PyObject_IsSubclass` to do the same check that :func:`issubclass`
Dobject.rst211 .. c:function:: int PyObject_IsSubclass(PyObject *derived, PyObject *cls)
/third_party/python/Doc/data/
Dstable_abi.dat506 function,PyObject_IsSubclass,3.2,
Drefcounts.dat1724 PyObject_IsSubclass:int:::
1725 PyObject_IsSubclass:PyObject*:derived:0:
1726 PyObject_IsSubclass:PyObject*:cls:0:
/third_party/python/PC/
Dpython3dll.c462 EXPORT_FUNC(PyObject_IsSubclass)
/third_party/python/Misc/
Dstable_abi.txt1093 function PyObject_IsSubclass
DHISTORY25100 - New abstract APIs PyObject_IsInstance(), PyObject_IsSubclass()
/third_party/python/Modules/_ctypes/
D_ctypes.c1196 int ret = PyObject_IsSubclass(v->proto, typedict->proto); in PyCPointerType_from_param()
/third_party/python/Tools/c-analyzer/
DTODO335 Objects/abstract.c:PyObject_IsSubclass():PyId___subclasscheck__ _Py_IDENTIFIER(__subclasscheck__)
/third_party/python/Doc/whatsnew/
D3.5.rst2148 The :c:func:`PyObject_IsInstance` and :c:func:`PyObject_IsSubclass`
/third_party/python/Misc/NEWS.d/
D3.5.0a1.rst254 speed up `PyObject_IsInstance` and `PyObject_IsSubclass` in the common case