Make PyUnicode_Copy() private => _PyUnicode_Copy()

Undocument the function.

Make also decode_utf8_errors() as private (static).
This commit is contained in:
Victor Stinner 2011-12-12 01:53:47 +01:00
parent 7a9105a380
commit bf6e560d0c
5 changed files with 12 additions and 17 deletions

View file

@ -616,9 +616,11 @@ PyAPI_FUNC(int) _PyUnicode_Ready(
#endif
/* Get a copy of a Unicode string. */
PyAPI_FUNC(PyObject*) PyUnicode_Copy(
#ifndef Py_LIMITED_API
PyAPI_FUNC(PyObject*) _PyUnicode_Copy(
PyObject *unicode
);
#endif
/* Copy character from one unicode object into another, this function performs
character conversion when necessary and falls back to memcpy if possible.