| 12343 | /* CythonFunctionShared */ |
| 12344 | #include <structmember.h> |
| 12345 | static PyObject * |
| 12346 | __Pyx_CyFunction_get_doc(__pyx_CyFunctionObject *op, CYTHON_UNUSED void *closure) |
| 12347 | { |
| 12348 | if (unlikely(op->func_doc == NULL)) { |
| 12349 | if (op->func.m_ml->ml_doc) { |
| 12350 | #if PY_MAJOR_VERSION >= 3 |
| 12351 | op->func_doc = PyUnicode_FromString(op->func.m_ml->ml_doc); |
| 12352 | #else |
| 12353 | op->func_doc = PyString_FromString(op->func.m_ml->ml_doc); |
| 12354 | #endif |
| 12355 | if (unlikely(op->func_doc == NULL)) |
| 12356 | return NULL; |
| 12357 | } else { |
| 12358 | Py_INCREF(Py_None); |
| 12359 | return Py_None; |
| 12360 | } |
| 12361 | } |
| 12362 | Py_INCREF(op->func_doc); |
| 12363 | return op->func_doc; |
| 12364 | } |
| 12365 | static int |
| 12366 | __Pyx_CyFunction_set_doc(__pyx_CyFunctionObject *op, PyObject *value, CYTHON_UNUSED void *context) |
| 12367 | { |
nothing calls this directly
no outgoing calls
no test coverage detected