diff options
author | Georg Brandl <georg@python.org> | 2011-10-07 09:19:11 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2011-10-07 09:19:11 (GMT) |
commit | db6c7f5c33ba4808907f227d5996ca70a67e21c6 (patch) | |
tree | 356c65f2a50a335d149bc533c295784f2b361e65 /Include/unicodeobject.h | |
parent | 59de0ee9e087a819a0a63b31c1391c6eee55b8ef (diff) | |
download | cpython-db6c7f5c33ba4808907f227d5996ca70a67e21c6.zip cpython-db6c7f5c33ba4808907f227d5996ca70a67e21c6.tar.gz cpython-db6c7f5c33ba4808907f227d5996ca70a67e21c6.tar.bz2 |
Update C API docs for PEP 393.
Diffstat (limited to 'Include/unicodeobject.h')
-rw-r--r-- | Include/unicodeobject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h index f6b105a..c6dfdf7 100644 --- a/Include/unicodeobject.h +++ b/Include/unicodeobject.h @@ -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. |