diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-09-19 09:56:06 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-09-19 09:56:06 (GMT) |
commit | 822675b82e9a5d9f323e56482c40a6162ab3a237 (patch) | |
tree | 2f7fd6d15870b94709a9d5c5de4995ae2f99bfe9 /Modules | |
parent | ff679c595561ce758da632328b7c1ffd88af9b87 (diff) | |
parent | 26c03bd7d5892e6bd7304231c8f10955a73c854d (diff) | |
download | cpython-822675b82e9a5d9f323e56482c40a6162ab3a237.zip cpython-822675b82e9a5d9f323e56482c40a6162ab3a237.tar.gz cpython-822675b82e9a5d9f323e56482c40a6162ab3a237.tar.bz2 |
Merge 3.6
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/posixmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index ba54249..470ee92 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -920,7 +920,7 @@ path_converter(PyObject *o, void *p) if (is_unicode) { #ifdef MS_WINDOWS - wide = PyUnicode_AsWideCharString(o, &length); + wide = PyUnicode_AsUnicodeAndSize(o, &length); if (!wide) { goto exit; } |