diff options
| author | Victor Stinner <victor.stinner@gmail.com> | 2015-02-11 18:17:56 +0100 |
|---|---|---|
| committer | Victor Stinner <victor.stinner@gmail.com> | 2015-02-11 18:17:56 +0100 |
| commit | 22fabe218d3d6d0198075bcd8d1e1ddf821102c1 (patch) | |
| tree | fb4a4492e1813aef672c765c9251b2a553e9938c /Include | |
| parent | 7a5567a92cf0e0bcaae7dca8975328c9151fe1c7 (diff) | |
| download | cpython-git-22fabe218d3d6d0198075bcd8d1e1ddf821102c1.tar.gz | |
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 729f584816..d7b2acebde 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. */ |
