summaryrefslogtreecommitdiffstats
path: root/Objects/unicodeobject.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-09-03 16:18:00 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2010-09-03 16:18:00 (GMT)
commit46408606d80347108a6550805d29402d2771bda3 (patch)
tree4e4f102c6752a1fcc10fc23c880cd194ddf335a2 /Objects/unicodeobject.c
parent8b358e55db5a49970fd9f54684ed1ee21c17f54f (diff)
downloadcpython-46408606d80347108a6550805d29402d2771bda3.zip
cpython-46408606d80347108a6550805d29402d2771bda3.tar.gz
cpython-46408606d80347108a6550805d29402d2771bda3.tar.bz2
Rename PyUnicode_strdup() to PyUnicode_AsUnicodeCopy()
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r--Objects/unicodeobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 80e2e63..9cdf90d 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -10015,7 +10015,7 @@ Py_UNICODE_strrchr(const Py_UNICODE *s, Py_UNICODE c)
}
Py_UNICODE*
-PyUnicode_strdup(PyObject *object)
+PyUnicode_AsUnicodeCopy(PyObject *object)
{
PyUnicodeObject *unicode = (PyUnicodeObject *)object;
Py_UNICODE *copy;