MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / __Pyx_InBases

Function __Pyx_InBases

_pydevd_frame_eval/pydevd_frame_evaluator.c:24977–24984  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24975/* FastTypeChecks */
24976#if CYTHON_COMPILING_IN_CPYTHON
24977static int __Pyx_InBases(PyTypeObject *a, PyTypeObject *b) {
24978 while (a) {
24979 a = __Pyx_PyType_GetSlot(a, tp_base, PyTypeObject*);
24980 if (a == b)
24981 return 1;
24982 }
24983 return b == &PyBaseObject_Type;
24984}
24985static CYTHON_INLINE int __Pyx_IsSubtype(PyTypeObject *a, PyTypeObject *b) {
24986 PyObject *mro;
24987 if (a == b) return 1;

Callers 2

__Pyx_IsSubtypeFunction · 0.85
__Pyx_IsAnySubtype2Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected