From 46408606d80347108a6550805d29402d2771bda3 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Fri, 3 Sep 2010 16:18:00 +0000 Subject: Rename PyUnicode_strdup() to PyUnicode_AsUnicodeCopy() --- Include/unicodeobject.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Include/unicodeobject.h') diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h index b6a7fcafb9..0de0d66d76 100644 --- a/Include/unicodeobject.h +++ b/Include/unicodeobject.h @@ -1607,7 +1607,7 @@ PyAPI_FUNC(Py_UNICODE*) Py_UNICODE_strrchr( and raise a MemoryError exception on memory allocation failure, otherwise return a new allocated buffer (use PyMem_Free() to free the buffer). */ -PyAPI_FUNC(Py_UNICODE*) PyUnicode_strdup( +PyAPI_FUNC(Py_UNICODE*) PyUnicode_AsUnicodeCopy( PyObject *unicode ); -- cgit v1.2.1