Mercurial > cpython-lru_cache-weakref
diff Objects/unicodeobject.c @ 64397:98f337a6957c
Rename PyUnicode_strdup() to PyUnicode_AsUnicodeCopy()
| author | Victor Stinner <victor.stinner@haypocalc.com> |
|---|---|
| date | Fri, 03 Sep 2010 16:18:00 +0000 |
| parents | 1f04b0076fd8 |
| children | 1cfad55de5bd |
line wrap: on
line diff
--- a/Objects/unicodeobject.c Fri Sep 03 16:12:14 2010 +0000 +++ b/Objects/unicodeobject.c Fri Sep 03 16:18:00 2010 +0000 @@ -10015,7 +10015,7 @@ } Py_UNICODE* -PyUnicode_strdup(PyObject *object) +PyUnicode_AsUnicodeCopy(PyObject *object) { PyUnicodeObject *unicode = (PyUnicodeObject *)object; Py_UNICODE *copy;
