Mercurial > cpython-lru_cache-weakref
diff Python/getargs.c @ 17817:f7c385226f65 legacy-trunk
Add support for Windows using "mbcs" as the default Unicode encoding when dealing with the file system. As discussed on python-dev and in patch 410465.
| author | Mark Hammond <mhammond@skippinet.com.au> |
|---|---|
| date | Sun, 13 May 2001 08:04:26 +0000 |
| parents | 085f460b0e3b |
| children | 2807949e0ba5 |
line wrap: on
line diff
--- a/Python/getargs.c Sun May 13 06:43:53 2001 +0000 +++ b/Python/getargs.c Sun May 13 08:04:26 2001 +0000 @@ -698,7 +698,7 @@ '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;
