Searched refs:PyObject_IsSubclass (Results 1 – 18 of 18) sorted by relevance
/third_party/python/Modules/ |
D | _abc.c | 528 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/ |
D | abstract.h | 862 PyAPI_FUNC(int) PyObject_IsSubclass(PyObject *object, PyObject *typeorclass);
|
/third_party/python/Python/ |
D | _warnings.c | 350 is_subclass = PyObject_IsSubclass(category, cat); in get_filter() 927 rc = PyObject_IsSubclass(category, PyExc_Warning); in get_category()
|
D | errors.c | 349 is_subclass = PyObject_IsSubclass(inclass, type); in _PyErr_NormalizeException() 975 issubclass = PyObject_IsSubclass(exception, PyExc_ImportError); in PyErr_SetImportErrorSubclass()
|
D | bltinmodule.c | 2629 retval = PyObject_IsSubclass(cls, class_or_tuple); in builtin_issubclass_impl()
|
/third_party/python/Objects/ |
D | unionobject.c | 106 int res = PyObject_IsSubclass(instance, arg); in union_subclasscheck()
|
D | abstract.c | 2780 PyObject_IsSubclass(PyObject *derived, PyObject *cls) in PyObject_IsSubclass() function
|
/third_party/python/Doc/c-api/ |
D | type.rst | 78 :c:func:`PyObject_IsSubclass` to do the same check that :func:`issubclass`
|
D | object.rst | 211 .. c:function:: int PyObject_IsSubclass(PyObject *derived, PyObject *cls)
|
/third_party/python/PC/ |
D | python3dll.c | 462 EXPORT_FUNC(PyObject_IsSubclass)
|
/third_party/python/Doc/data/ |
D | stable_abi.dat | 506 function,PyObject_IsSubclass,3.2,
|
D | refcounts.dat | 1724 PyObject_IsSubclass:int::: 1725 PyObject_IsSubclass:PyObject*:derived:0: 1726 PyObject_IsSubclass:PyObject*:cls:0:
|
/third_party/python/Misc/ |
D | stable_abi.txt | 1093 function PyObject_IsSubclass
|
D | HISTORY | 25100 - New abstract APIs PyObject_IsInstance(), PyObject_IsSubclass()
|
/third_party/python/Tools/c-analyzer/ |
D | TODO | 335 Objects/abstract.c:PyObject_IsSubclass():PyId___subclasscheck__ _Py_IDENTIFIER(__subclasscheck__)
|
/third_party/python/Modules/_ctypes/ |
D | _ctypes.c | 1196 int ret = PyObject_IsSubclass(v->proto, typedict->proto); in PyCPointerType_from_param()
|
/third_party/python/Doc/whatsnew/ |
D | 3.5.rst | 2148 The :c:func:`PyObject_IsInstance` and :c:func:`PyObject_IsSubclass`
|
/third_party/python/Misc/NEWS.d/ |
D | 3.5.0a1.rst | 254 speed up `PyObject_IsInstance` and `PyObject_IsSubclass` in the common case
|