diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-12-12 00:53:47 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-12-12 00:53:47 (GMT) |
commit | bf6e560d0ccbe6bee4d835a15a8e8e098b9c7ef6 (patch) | |
tree | 42ccc12a1177bb5450efd6bd854f0ded5463e333 /Include/unicodeobject.h | |
parent | 7a9105a380779942bfe45936d074c8181dee14d9 (diff) | |
download | cpython-bf6e560d0ccbe6bee4d835a15a8e8e098b9c7ef6.zip cpython-bf6e560d0ccbe6bee4d835a15a8e8e098b9c7ef6.tar.gz cpython-bf6e560d0ccbe6bee4d835a15a8e8e098b9c7ef6.tar.bz2 |
Make PyUnicode_Copy() private => _PyUnicode_Copy()
Undocument the function.
Make also decode_utf8_errors() as private (static).
Diffstat (limited to 'Include/unicodeobject.h')
-rw-r--r-- | Include/unicodeobject.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h index be45b02..235c677 100644 --- a/Include/unicodeobject.h +++ b/Include/unicodeobject.h @@ -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. |