--- a/contrib/python-zstandard/c-ext/compressobj.c Thu Feb 09 21:44:32 2017 -0500
+++ b/contrib/python-zstandard/c-ext/compressobj.c Tue Feb 07 23:24:47 2017 -0800
@@ -42,9 +42,9 @@
}
#if PY_MAJOR_VERSION >= 3
- if (!PyArg_ParseTuple(args, "y#", &source, &sourceSize)) {
+ if (!PyArg_ParseTuple(args, "y#:compress", &source, &sourceSize)) {
#else
- if (!PyArg_ParseTuple(args, "s#", &source, &sourceSize)) {
+ if (!PyArg_ParseTuple(args, "s#:compress", &source, &sourceSize)) {
#endif
return NULL;
}
@@ -98,7 +98,7 @@
PyObject* result = NULL;
Py_ssize_t resultSize = 0;
- if (!PyArg_ParseTuple(args, "|i", &flushMode)) {
+ if (!PyArg_ParseTuple(args, "|i:flush", &flushMode)) {
return NULL;
}