diff options
Diffstat (limited to 'src/python/nxt_python_asgi_lifespan.c')
| -rw-r--r-- | src/python/nxt_python_asgi_lifespan.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/python/nxt_python_asgi_lifespan.c b/src/python/nxt_python_asgi_lifespan.c index 041cca21..8ef78377 100644 --- a/src/python/nxt_python_asgi_lifespan.c +++ b/src/python/nxt_python_asgi_lifespan.c @@ -48,10 +48,10 @@ static void nxt_py_asgi_lifespan_dealloc(PyObject *self); static PyMethodDef nxt_py_asgi_lifespan_methods[] = { - { "receive", nxt_py_asgi_lifespan_receive, METH_NOARGS, 0 }, - { "send", nxt_py_asgi_lifespan_send, METH_O, 0 }, - { "_done", nxt_py_asgi_lifespan_done, METH_O, 0 }, - { NULL, NULL, 0, 0 } + { "receive", nxt_py_asgi_lifespan_receive, METH_NOARGS, NULL }, + { "send", nxt_py_asgi_lifespan_send, METH_O, NULL }, + { "_done", nxt_py_asgi_lifespan_done, METH_O, NULL }, + {} }; static PyMemberDef nxt_py_asgi_lifespan_members[] = { |
