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

@ -249,7 +249,7 @@ validate_and_copy_tuple(PyObject *tup)
return NULL;
}
else {
item = PyUnicode_Copy(item);
item = _PyUnicode_Copy(item);
if (item == NULL) {
Py_DECREF(newtuple);
return NULL;