diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-02-11 17:17:56 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-02-11 17:17:56 (GMT) |
commit | 22fabe218d3d6d0198075bcd8d1e1ddf821102c1 (patch) | |
tree | fb4a4492e1813aef672c765c9251b2a553e9938c /Include | |
parent | 7a5567a92cf0e0bcaae7dca8975328c9151fe1c7 (diff) | |
download | cpython-22fabe218d3d6d0198075bcd8d1e1ddf821102c1.zip cpython-22fabe218d3d6d0198075bcd8d1e1ddf821102c1.tar.gz cpython-22fabe218d3d6d0198075bcd8d1e1ddf821102c1.tar.bz2 |
Fix typo: PyMem_Alloc => PyMem_Malloc
Diffstat (limited to 'Include')
-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 729f584..d7b2ace 100644 --- a/Include/unicodeobject.h +++ b/Include/unicodeobject.h @@ -1052,7 +1052,7 @@ PyAPI_FUNC(Py_ssize_t) PyUnicode_AsWideChar( always ends with a nul character. If size is not NULL, write the number of wide characters (excluding the null character) into *size. - Returns a buffer allocated by PyMem_Alloc() (use PyMem_Free() to free it) + Returns a buffer allocated by PyMem_Malloc() (use PyMem_Free() to free it) on success. On error, returns NULL, *size is undefined and raises a MemoryError. */ |