[Python-checkins] cpython (3.4): Fix typo: PyMem_Alloc => PyMem_Malloc

victor.stinner python-checkins at python.org
Wed Feb 11 18:19:01 CET 2015


https://hg.python.org/cpython/rev/368b2021c2e7
changeset:   94589:368b2021c2e7
branch:      3.4
parent:      94583:689092296ad3
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Wed Feb 11 18:17:56 2015 +0100
summary:
  Fix typo: PyMem_Alloc => PyMem_Malloc

files:
  Include/unicodeobject.h |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h
--- a/Include/unicodeobject.h
+++ b/Include/unicodeobject.h
@@ -1052,7 +1052,7 @@
    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. */
 

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list