summaryrefslogtreecommitdiffhomepage
path: root/src/python/nxt_python_wsgi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/nxt_python_wsgi.c')
-rw-r--r--src/python/nxt_python_wsgi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/python/nxt_python_wsgi.c b/src/python/nxt_python_wsgi.c
index c621097e..ec9fefca 100644
--- a/src/python/nxt_python_wsgi.c
+++ b/src/python/nxt_python_wsgi.c
@@ -108,10 +108,10 @@ static PyMethodDef nxt_py_write_method[] = {
static PyMethodDef nxt_py_input_methods[] = {
- { "read", (PyCFunction) nxt_py_input_read, METH_VARARGS, 0 },
- { "readline", (PyCFunction) nxt_py_input_readline, METH_VARARGS, 0 },
- { "readlines", (PyCFunction) nxt_py_input_readlines, METH_VARARGS, 0 },
- { NULL, NULL, 0, 0 }
+ { "read", (PyCFunction) nxt_py_input_read, METH_VARARGS, NULL },
+ { "readline", (PyCFunction) nxt_py_input_readline, METH_VARARGS, NULL },
+ { "readlines", (PyCFunction) nxt_py_input_readlines, METH_VARARGS, NULL },
+ {}
};