diff options
| author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-12-12 01:53:47 +0100 |
|---|---|---|
| committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-12-12 01:53:47 +0100 |
| commit | bf6e560d0ccbe6bee4d835a15a8e8e098b9c7ef6 (patch) | |
| tree | 42ccc12a1177bb5450efd6bd854f0ded5463e333 /Doc | |
| parent | 7a9105a380779942bfe45936d074c8181dee14d9 (diff) | |
| download | cpython-git-bf6e560d0ccbe6bee4d835a15a8e8e098b9c7ef6.tar.gz | |
Make PyUnicode_Copy() private => _PyUnicode_Copy()
Undocument the function.
Make also decode_utf8_errors() as private (static).
Diffstat (limited to 'Doc')
| -rw-r--r-- | Doc/c-api/unicode.rst | 7 | ||||
| -rw-r--r-- | Doc/whatsnew/3.3.rst | 4 |
2 files changed, 2 insertions, 9 deletions
diff --git a/Doc/c-api/unicode.rst b/Doc/c-api/unicode.rst index 65d4af555e..81ed540458 100644 --- a/Doc/c-api/unicode.rst +++ b/Doc/c-api/unicode.rst @@ -386,13 +386,6 @@ APIs: .. versionadded:: 3.3 -.. c:function:: PyObject* PyUnicode_Copy(PyObject *unicode) - - Get a new copy of a Unicode object. - - .. versionadded:: 3.3 - - .. c:function:: PyObject* PyUnicode_FromKindAndData(int kind, const void *buffer, \ Py_ssize_t size) diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst index 56a16da0ae..ae275fcc91 100644 --- a/Doc/whatsnew/3.3.rst +++ b/Doc/whatsnew/3.3.rst @@ -769,8 +769,8 @@ Unicode functions and methods using :c:type:`Py_UNICODE` and * :c:macro:`PyUnicode_GET_DATA_SIZE`: use ``PyUnicode_GET_LENGTH(str) * PyUnicode_KIND(str)`` (only work on ready strings) - * :c:func:`PyUnicode_AsUnicodeCopy`: use :c:func:`PyUnicode_AsUCS4Copy`, - :c:func:`PyUnicode_AsWideCharString` or :c:func:`PyUnicode_Copy` + * :c:func:`PyUnicode_AsUnicodeCopy`: use :c:func:`PyUnicode_AsUCS4Copy` or + :c:func:`PyUnicode_AsWideCharString` Functions and macros manipulating Py_UNICODE* strings: |
