[Python-checkins] r81198 - python/branches/py3k/Include/unicodeobject.h

benjamin.peterson python-checkins at python.org
Sat May 15 19:43:18 CEST 2010


Author: benjamin.peterson
Date: Sat May 15 19:43:18 2010
New Revision: 81198

Log:
rephrase

Modified:
   python/branches/py3k/Include/unicodeobject.h

Modified: python/branches/py3k/Include/unicodeobject.h
==============================================================================
--- python/branches/py3k/Include/unicodeobject.h	(original)
+++ python/branches/py3k/Include/unicodeobject.h	Sat May 15 19:43:18 2010
@@ -1250,7 +1250,7 @@
 
    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 @@
     );
 
 /* 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.
 */


More information about the Python-checkins mailing list