diff options
Diffstat (limited to 'Python/getargs.c')
-rw-r--r-- | Python/getargs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/getargs.c b/Python/getargs.c index 6eabd75..d78faa7 100644 --- a/Python/getargs.c +++ b/Python/getargs.c @@ -698,7 +698,7 @@ convertsimple1(PyObject *arg, char **p_format, va_list *p_va) 's' (recode all objects via Unicode) or 't' (only recode non-string objects) */ - if (*format != 's') + if (*format == 's') recode_strings = 1; else if (*format == 't') recode_strings = 0; |