diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-04-22 12:08:36 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-04-22 12:08:36 (GMT) |
commit | dcb2403022520028a633143602359a30080ed257 (patch) | |
tree | 63600ee89e86589546a6e38a65cd453c474a5109 /Include/unicodeobject.h | |
parent | c303c12160090f926d9ffc582a85b82803785e4d (diff) | |
download | cpython-dcb2403022520028a633143602359a30080ed257.zip cpython-dcb2403022520028a633143602359a30080ed257.tar.gz cpython-dcb2403022520028a633143602359a30080ed257.tar.bz2 |
Issue #8485: PyUnicode_FSConverter() doesn't accept bytearray object anymore,
you have to convert your bytearray filenames to bytes
Diffstat (limited to 'Include/unicodeobject.h')
-rw-r--r-- | Include/unicodeobject.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h index 08b518a..290034a 100644 --- a/Include/unicodeobject.h +++ b/Include/unicodeobject.h @@ -1238,8 +1238,8 @@ PyAPI_FUNC(int) PyUnicode_EncodeDecimal( /* --- File system encoding ---------------------------------------------- */ /* ParseTuple converter which converts a Unicode object into the file - system encoding, using the PEP 383 error handler; bytes objects are - output as-is. */ + system encoding as a bytes object, using the PEP 383 error handler; bytes + objects are output as-is. */ PyAPI_FUNC(int) PyUnicode_FSConverter(PyObject*, void*); |