summaryrefslogtreecommitdiff
path: root/Objects/unicodeobject.c
diff options
context:
space:
mode:
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 80e2e63fce..9cdf90d159 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;