diff options
| author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-09-03 16:18:00 +0000 |
|---|---|---|
| committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-09-03 16:18:00 +0000 |
| commit | 46408606d80347108a6550805d29402d2771bda3 (patch) | |
| tree | 4e4f102c6752a1fcc10fc23c880cd194ddf335a2 /Include | |
| parent | 8b358e55db5a49970fd9f54684ed1ee21c17f54f (diff) | |
| download | cpython-git-46408606d80347108a6550805d29402d2771bda3.tar.gz | |
Rename PyUnicode_strdup() to PyUnicode_AsUnicodeCopy()
Diffstat (limited to 'Include')
| -rw-r--r-- | Include/unicodeobject.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 ); |
