diff options
author | Georg Brandl <georg@python.org> | 2010-10-17 10:53:54 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-10-17 10:53:54 (GMT) |
commit | 418cc7340362cd50059b735757b11c1c7a45a1c6 (patch) | |
tree | 104f9082c31dda6454d66e14508f444391496b80 /Doc/c-api/unicode.rst | |
parent | ee2538beefa10847ed8a190b25a18a5840e334c3 (diff) | |
download | cpython-418cc7340362cd50059b735757b11c1c7a45a1c6.zip cpython-418cc7340362cd50059b735757b11c1c7a45a1c6.tar.gz cpython-418cc7340362cd50059b735757b11c1c7a45a1c6.tar.bz2 |
Fix capitalization.
Diffstat (limited to 'Doc/c-api/unicode.rst')
-rw-r--r-- | Doc/c-api/unicode.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/unicode.rst b/Doc/c-api/unicode.rst index d9a48d6..4530422 100644 --- a/Doc/c-api/unicode.rst +++ b/Doc/c-api/unicode.rst @@ -204,7 +204,7 @@ APIs: .. c:function:: PyObject* PyUnicode_FromUnicode(const Py_UNICODE *u, Py_ssize_t size) - Create a Unicode Object from the Py_UNICODE buffer *u* of the given size. *u* + Create a Unicode object from the Py_UNICODE buffer *u* of the given size. *u* may be *NULL* which causes the contents to be undefined. It is the user's responsibility to fill in the needed data. The buffer is copied into the new object. If the buffer is not *NULL*, the return value might be a shared object. @@ -214,7 +214,7 @@ APIs: .. c:function:: PyObject* PyUnicode_FromStringAndSize(const char *u, Py_ssize_t size) - Create a Unicode Object from the char buffer *u*. The bytes will be interpreted + Create a Unicode object from the char buffer *u*. The bytes will be interpreted as being UTF-8 encoded. *u* may also be *NULL* which causes the contents to be undefined. It is the user's responsibility to fill in the needed data. The buffer is copied into the new object. If the buffer is not |