Home
last modified time | relevance | path

Searched refs:PyObject_IsSubclass (Results 1 - 10 of 10) sorted by relevance

/third_party/python/Modules/
H A D_abc.c525 int result = PyObject_IsSubclass(subclass, self); in _abc__abc_register_impl()
535 result = PyObject_IsSubclass(self, subclass); in _abc__abc_register_impl()
782 int r = PyObject_IsSubclass(subclass, scls); in _abc__abc_subclasscheck_impl()
861 int r = PyObject_IsSubclass(subclass, rkey); in subclasscheck_check_registry()
/third_party/python/Include/
H A Dabstract.h862 PyAPI_FUNC(int) PyObject_IsSubclass(PyObject *object, PyObject *typeorclass);
/third_party/python/Python/
H A D_warnings.c363 is_subclass = PyObject_IsSubclass(category, cat); in get_filter()
919 rc = PyObject_IsSubclass(category, PyExc_Warning); in get_category()
921 PyObject_IsSubclass raised an error */ in get_category()
H A Derrors.c342 is_subclass = PyObject_IsSubclass(inclass, type); in _PyErr_NormalizeException()
994 issubclass = PyObject_IsSubclass(exception, PyExc_ImportError); in PyErr_SetImportErrorSubclass()
H A Dbltinmodule.c2675 retval = PyObject_IsSubclass(cls, class_or_tuple); in builtin_issubclass_impl()
H A Dceval.c7657 is_subclass = PyObject_IsSubclass(exc, PyExc_BaseExceptionGroup);
7667 is_subclass = PyObject_IsSubclass(right, PyExc_BaseExceptionGroup);
/third_party/python/PC/
H A Dpython3dll.c472 EXPORT_FUNC(PyObject_IsSubclass)
/third_party/python/Objects/
H A Dabstract.c2770 PyObject_IsSubclass(PyObject *derived, PyObject *cls) in PyObject_IsSubclass() function
H A Dexceptions.c779 int nonbase = PyObject_IsSubclass((PyObject*)cls, PyExc_Exception); in BaseExceptionGroup_new()
/third_party/python/Modules/_ctypes/
H A D_ctypes.c1209 int ret = PyObject_IsSubclass(v->proto, typedict->proto); in PyCPointerType_from_param()

Completed in 45 milliseconds