Searched refs:PyObject_IsSubclass (Results 1 - 10 of 10) sorted by relevance
/third_party/python/Modules/ |
H A D | _abc.c | 525 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 D | abstract.h | 862 PyAPI_FUNC(int) PyObject_IsSubclass(PyObject *object, PyObject *typeorclass);
|
/third_party/python/Python/ |
H A D | _warnings.c | 363 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 D | errors.c | 342 is_subclass = PyObject_IsSubclass(inclass, type); in _PyErr_NormalizeException() 994 issubclass = PyObject_IsSubclass(exception, PyExc_ImportError); in PyErr_SetImportErrorSubclass()
|
H A D | bltinmodule.c | 2675 retval = PyObject_IsSubclass(cls, class_or_tuple); in builtin_issubclass_impl()
|
H A D | ceval.c | 7657 is_subclass = PyObject_IsSubclass(exc, PyExc_BaseExceptionGroup); 7667 is_subclass = PyObject_IsSubclass(right, PyExc_BaseExceptionGroup);
|
/third_party/python/PC/ |
H A D | python3dll.c | 472 EXPORT_FUNC(PyObject_IsSubclass)
|
/third_party/python/Objects/ |
H A D | abstract.c | 2770 PyObject_IsSubclass(PyObject *derived, PyObject *cls) in PyObject_IsSubclass() function
|
H A D | exceptions.c | 779 int nonbase = PyObject_IsSubclass((PyObject*)cls, PyExc_Exception); in BaseExceptionGroup_new()
|
/third_party/python/Modules/_ctypes/ |
H A D | _ctypes.c | 1209 int ret = PyObject_IsSubclass(v->proto, typedict->proto); in PyCPointerType_from_param()
|
Completed in 45 milliseconds