summaryrefslogtreecommitdiffstats
path: root/Include/unicodeobject.h
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-09-06 00:01:29 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-09-06 00:01:29 (GMT)
commitf955eb210fef42cabd831211177e646f27dd698f (patch)
tree83ca92ed4318dc88995bc4a25486c44a6c535ba7 /Include/unicodeobject.h
parent71e44cb97ffaaa3a777477aa6dcb0b0f29c9eda4 (diff)
parentd88d9836c541258a46acb153cd488de2a04b60db (diff)
downloadcpython-f955eb210fef42cabd831211177e646f27dd698f.zip
cpython-f955eb210fef42cabd831211177e646f27dd698f.tar.gz
cpython-f955eb210fef42cabd831211177e646f27dd698f.tar.bz2
Merge 3.2: Fix PyUnicode_AsWideCharString() doc
- Fix PyUnicode_AsWideCharString() doc: size doesn't contain the null character - Fix spelling of the null character
Diffstat (limited to 'Include/unicodeobject.h')
-rw-r--r--Include/unicodeobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h
index 68298b0..50efe72 100644
--- a/Include/unicodeobject.h
+++ b/Include/unicodeobject.h
@@ -608,7 +608,7 @@ PyAPI_FUNC(Py_ssize_t) PyUnicode_AsWideChar(
/* Convert the Unicode object to a wide character string. The output string
always ends with a nul character. If size is not NULL, write the number of
- wide characters (including the nul character) into *size.
+ wide characters (excluding the null character) into *size.
Returns a buffer allocated by PyMem_Alloc() (use PyMem_Free() to free it)
on success. On error, returns NULL, *size is undefined and raises a