]> granicus.if.org Git - python/commitdiff
Fix typo: PyMem_Alloc => PyMem_Malloc
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 11 Feb 2015 17:17:56 +0000 (18:17 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 11 Feb 2015 17:17:56 +0000 (18:17 +0100)
Include/unicodeobject.h

index 729f5848163ae5697aa6bdf9fba18ec475c3981d..d7b2acebdec418bd8c6710db04df1b7b71e13335 100644 (file)
@@ -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. */