mirror of
https://github.com/python/cpython.git
synced 2025-08-02 08:02:56 +00:00
rephrase
This commit is contained in:
parent
b4324516a0
commit
ccbd69437a
1 changed files with 2 additions and 2 deletions
|
@ -1250,7 +1250,7 @@ PyAPI_FUNC(int) PyUnicode_FSConverter(PyObject*, void*);
|
||||||
|
|
||||||
If Py_FileSystemDefaultEncoding is not set, fall back to UTF-8.
|
If Py_FileSystemDefaultEncoding is not set, fall back to UTF-8.
|
||||||
|
|
||||||
Use PyUnicode_DecodeFSDefaultAndSize() if you have the string length.
|
Use PyUnicode_DecodeFSDefaultAndSize() if the string length is known.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
PyAPI_FUNC(PyObject*) PyUnicode_DecodeFSDefault(
|
PyAPI_FUNC(PyObject*) PyUnicode_DecodeFSDefault(
|
||||||
|
@ -1269,7 +1269,7 @@ PyAPI_FUNC(PyObject*) PyUnicode_DecodeFSDefaultAndSize(
|
||||||
);
|
);
|
||||||
|
|
||||||
/* Encode a Unicode object to Py_FileSystemDefaultEncoding with the
|
/* Encode a Unicode object to Py_FileSystemDefaultEncoding with the
|
||||||
"surrogateescape" error handler, return a bytes object.
|
"surrogateescape" error handler, and return bytes.
|
||||||
|
|
||||||
If Py_FileSystemDefaultEncoding is not set, fall back to UTF-8.
|
If Py_FileSystemDefaultEncoding is not set, fall back to UTF-8.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue