Update C API docs for PEP 393.

This commit is contained in:
Georg Brandl 2011-10-07 11:19:11 +02:00
parent 59de0ee9e0
commit db6c7f5c33
4 changed files with 521 additions and 107 deletions

View file

@ -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.