mirror of
https://github.com/python/cpython.git
synced 2025-07-18 16:55:20 +00:00
Update C API docs for PEP 393.
This commit is contained in:
parent
59de0ee9e0
commit
db6c7f5c33
4 changed files with 521 additions and 107 deletions
|
@ -686,7 +686,7 @@ PyAPI_FUNC(PyObject*) PyUnicode_Substring(
|
|||
Py_ssize_t start,
|
||||
Py_ssize_t end);
|
||||
|
||||
/* Copy the string into a UCS4 buffer including the null character is copy_null
|
||||
/* Copy the string into a UCS4 buffer including the null character if copy_null
|
||||
is set. Return NULL and raise an exception on error. Raise a ValueError if
|
||||
the buffer is smaller than the string. Return buffer on success.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue