Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ce2c584

Browse files
committed
Merge 3.4 (typo)
2 parents c07422c + 22fabe2 commit ce2c584

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Include/unicodeobject.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1052,7 +1052,7 @@ PyAPI_FUNC(Py_ssize_t) PyUnicode_AsWideChar(
10521052
always ends with a nul character. If size is not NULL, write the number of
10531053
wide characters (excluding the null character) into *size.
10541054
1055-
Returns a buffer allocated by PyMem_Alloc() (use PyMem_Free() to free it)
1055+
Returns a buffer allocated by PyMem_Malloc() (use PyMem_Free() to free it)
10561056
on success. On error, returns NULL, *size is undefined and raises a
10571057
MemoryError. */
10581058

0 commit comments

Comments
 (0)