MCPcopy Create free account
hub / github.com/OpenDriveLab/OpenLane / __Pyx_PyObject_Call

Function __Pyx_PyObject_Call

eval/CIPO_evaluation/pycocotools/_mask.c:11057–11072  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11055/* PyObjectCall */
11056#if CYTHON_COMPILING_IN_CPYTHON
11057static CYTHON_INLINE PyObject* __Pyx_PyObject_Call(PyObject *func, PyObject *arg, PyObject *kw) {
11058 PyObject *result;
11059 ternaryfunc call = func->ob_type->tp_call;
11060 if (unlikely(!call))
11061 return PyObject_Call(func, arg, kw);
11062 if (unlikely(Py_EnterRecursiveCall((char*)" while calling a Python object")))
11063 return NULL;
11064 result = (*call)(func, arg, kw);
11065 Py_LeaveRecursiveCall();
11066 if (unlikely(!result) && unlikely(!PyErr_Occurred())) {
11067 PyErr_SetString(
11068 PyExc_SystemError,
11069 "NULL result without error in PyObject_Call");
11070 }
11071 return result;
11072}
11073#endif
11074
11075/* PyObjectCallMethO */

Calls

no outgoing calls

Tested by

no test coverage detected