| 12390 | return op->func_name; |
| 12391 | } |
| 12392 | static int |
| 12393 | __Pyx_CyFunction_set_name(__pyx_CyFunctionObject *op, PyObject *value, CYTHON_UNUSED void *context) |
| 12394 | { |
| 12395 | PyObject *tmp; |
| 12396 | #if PY_MAJOR_VERSION >= 3 |
| 12397 | if (unlikely(value == NULL || !PyUnicode_Check(value))) |
| 12398 | #else |
| 12399 | if (unlikely(value == NULL || !PyString_Check(value))) |
| 12400 | #endif |
| 12401 | { |
| 12402 | PyErr_SetString(PyExc_TypeError, |
| 12403 | "__name__ must be set to a string object"); |
| 12404 | return -1; |
| 12405 | } |
| 12406 | tmp = op->func_name; |
| 12407 | Py_INCREF(value); |
| 12408 | op->func_name = value; |
| 12409 | Py_XDECREF(tmp); |
| 12410 | return 0; |
| 12411 | } |
| 12412 | static PyObject * |
| 12413 | __Pyx_CyFunction_get_qualname(__pyx_CyFunctionObject *op, CYTHON_UNUSED void *context) |
| 12414 | { |
nothing calls this directly
no outgoing calls
no test coverage detected