const char *s1 = NULL;
const char *s2 = NULL;
long cmp_result = 0;
- if (!PyArg_ParseTuple(args, "eses", "utf8", &s1, "utf8", &s2)) {
+ if (!PyArg_ParseTuple(args, PYARG_STR_UNI
+ PYARG_STR_UNI,
+ "utf8", &s1, "utf8", &s2)) {
return NULL;
}
const char *s2 = NULL;
char *strstr_ret = NULL;
PyObject *result = NULL;
- if (!PyArg_ParseTuple(args, "eses", "utf8", &s1, "utf8", &s2))
+ if (!PyArg_ParseTuple(args, PYARG_STR_UNI
+ PYARG_STR_UNI,
+ "utf8", &s1, "utf8", &s2))
return NULL;
strstr_ret = strstr_m(s1, s2);