mirror of
https://github.com/python/cpython.git
synced 2025-08-23 02:04:56 +00:00
Make PyUnicode_Copy() private => _PyUnicode_Copy()
Undocument the function. Make also decode_utf8_errors() as private (static).
This commit is contained in:
parent
7a9105a380
commit
bf6e560d0c
5 changed files with 12 additions and 17 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue