summaryrefslogtreecommitdiffstats
path: root/Include/unicodeobject.h
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-05-15 17:43:18 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-05-15 17:43:18 (GMT)
commitccbd69437aa00ab8d897397769549acd42551de6 (patch)
tree2f863827fb5a41cf0a0138f85b621cc7c572a72d /Include/unicodeobject.h
parentb4324516a0699eabcd028c4f478a4cad3a81922b (diff)
downloadcpython-ccbd69437aa00ab8d897397769549acd42551de6.zip
cpython-ccbd69437aa00ab8d897397769549acd42551de6.tar.gz
cpython-ccbd69437aa00ab8d897397769549acd42551de6.tar.bz2
rephrase
Diffstat (limited to 'Include/unicodeobject.h')
-rw-r--r--Include/unicodeobject.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h
index ddc9000..569511f 100644
--- a/Include/unicodeobject.h
+++ b/Include/unicodeobject.h
@@ -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.
*/