Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c07422c + 22fabe2 commit ce2c584Copy full SHA for ce2c584
1 file changed
Include/unicodeobject.h
@@ -1052,7 +1052,7 @@ PyAPI_FUNC(Py_ssize_t) PyUnicode_AsWideChar(
1052
always ends with a nul character. If size is not NULL, write the number of
1053
wide characters (excluding the null character) into *size.
1054
1055
- 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)
1056
on success. On error, returns NULL, *size is undefined and raises a
1057
MemoryError. */
1058
0 commit comments