equal
deleted
inserted
replaced
39 PyErr_SetString(ZstdError, "cannot use a decompressobj multiple times"); |
39 PyErr_SetString(ZstdError, "cannot use a decompressobj multiple times"); |
40 return NULL; |
40 return NULL; |
41 } |
41 } |
42 |
42 |
43 #if PY_MAJOR_VERSION >= 3 |
43 #if PY_MAJOR_VERSION >= 3 |
44 if (!PyArg_ParseTuple(args, "y#", |
44 if (!PyArg_ParseTuple(args, "y#:decompress", |
45 #else |
45 #else |
46 if (!PyArg_ParseTuple(args, "s#", |
46 if (!PyArg_ParseTuple(args, "s#:decompress", |
47 #endif |
47 #endif |
48 &source, &sourceSize)) { |
48 &source, &sourceSize)) { |
49 return NULL; |
49 return NULL; |
50 } |
50 } |
51 |
51 |