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

Function __Pyx_CyFunction_repr

eval/CIPO_evaluation/pycocotools/_mask.c:12757–12767  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12755 return __Pyx_PyMethod_New(func, obj, type);
12756}
12757static PyObject*
12758__Pyx_CyFunction_repr(__pyx_CyFunctionObject *op)
12759{
12760#if PY_MAJOR_VERSION >= 3
12761 return PyUnicode_FromFormat("<cyfunction %U at %p>",
12762 op->func_qualname, (void *)op);
12763#else
12764 return PyString_FromFormat("<cyfunction %s at %p>",
12765 PyString_AsString(op->func_qualname), (void *)op);
12766#endif
12767}
12768static PyObject * __Pyx_CyFunction_CallMethod(PyObject *func, PyObject *self, PyObject *arg, PyObject *kw) {
12769 PyCFunctionObject* f = (PyCFunctionObject*)func;
12770 PyCFunction meth = f->m_ml->ml_meth;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected