]> granicus.if.org Git - python/commitdiff
rephrase
authorBenjamin Peterson <benjamin@python.org>
Sat, 15 May 2010 17:43:18 +0000 (17:43 +0000)
committerBenjamin Peterson <benjamin@python.org>
Sat, 15 May 2010 17:43:18 +0000 (17:43 +0000)
Include/unicodeobject.h

index ddc9000828f4d9ef1fafaa2b10c67448836b16b7..569511f6f76bd8d17d33db275248b1df0a5b4f0e 100644 (file)
@@ -1250,7 +1250,7 @@ PyAPI_FUNC(int) PyUnicode_FSConverter(PyObject*, void*);
 
    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(
@@ -1269,7 +1269,7 @@ PyAPI_FUNC(PyObject*) PyUnicode_DecodeFSDefaultAndSize(
     );
 
 /* 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.
 */