mirror of
https://github.com/python/cpython.git
synced 2025-07-17 00:05:20 +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
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue