mirror of
https://github.com/python/cpython.git
synced 2025-09-13 12:17:24 +00:00
Fix capitalization.
This commit is contained in:
parent
ee2538beef
commit
418cc73403
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue