Commit 9ddada70 authored by Stefan Behnel's avatar Stefan Behnel

Fix "unused function" C compiler warning for "__Pyx_Coroutine_get_frame()".

parent 47f84661
......@@ -1233,13 +1233,6 @@ static void __Pyx_Coroutine_del(PyObject *self) {
#endif
}
static PyObject *
__Pyx_Coroutine_get_frame(__pyx_CoroutineObject *self)
{
// Fake implementation that always returns None, but at least does not raise an AttributeError.
Py_RETURN_NONE;
}
static PyObject *
__Pyx_Coroutine_get_name(__pyx_CoroutineObject *self)
{
......@@ -1471,6 +1464,13 @@ static PyObject *__Pyx_Coroutine_await(PyObject *coroutine) {
return __Pyx__Coroutine_await(coroutine);
}
static PyObject *
__Pyx_Coroutine_get_frame(__pyx_CoroutineObject *self)
{
// Fake implementation that always returns None, but at least does not raise an AttributeError.
Py_RETURN_NONE;
}
#if CYTHON_COMPILING_IN_CPYTHON && PY_MAJOR_VERSION >= 3 && PY_VERSION_HEX < 0x030500B1
static PyObject *__Pyx_Coroutine_compare(PyObject *obj, PyObject *other, int op) {
PyObject* result;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment