summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nxt_python_wsgi.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nxt_python_wsgi.c b/src/nxt_python_wsgi.c
index a6d5f217..977c2998 100644
--- a/src/nxt_python_wsgi.c
+++ b/src/nxt_python_wsgi.c
@@ -179,6 +179,10 @@ static PyTypeObject nxt_py_input_type = {
#if PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION > 3
0, /* tp_finalize */
#endif
+#if PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION >= 8
+ 0, /* tp_vectorcall */
+ 0, /* tp_print */
+#endif
};