diff options
author | Inada Naoki <songofacandy@gmail.com> | 2020-06-30 03:23:07 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-30 03:23:07 (GMT) |
commit | b3332660adb02babb7e66e45310c66dc9a9a94da (patch) | |
tree | 4eb2b2e3e92d0821ddf20b286e995119d0ce1cb9 /Include/cpython/unicodeobject.h | |
parent | 2515a28230b1a011205f30263da6b01c6bd167a3 (diff) | |
download | cpython-b3332660adb02babb7e66e45310c66dc9a9a94da.zip cpython-b3332660adb02babb7e66e45310c66dc9a9a94da.tar.gz cpython-b3332660adb02babb7e66e45310c66dc9a9a94da.tar.bz2 |
bpo-41123: Remove PyUnicode_AsUnicodeCopy (GH-21209)
Diffstat (limited to 'Include/cpython/unicodeobject.h')
-rw-r--r-- | Include/cpython/unicodeobject.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Include/cpython/unicodeobject.h b/Include/cpython/unicodeobject.h index c1a8564..88a97a4 100644 --- a/Include/cpython/unicodeobject.h +++ b/Include/cpython/unicodeobject.h @@ -1162,14 +1162,6 @@ PyAPI_FUNC(int) _PyUnicode_IsAlpha( PyAPI_FUNC(PyObject*) _PyUnicode_FormatLong(PyObject *, int, int, int); -/* Create a copy of a unicode string ending with a nul character. Return NULL - and raise a MemoryError exception on memory allocation failure, otherwise - return a new allocated buffer (use PyMem_Free() to free the buffer). */ - -Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE*) PyUnicode_AsUnicodeCopy( - PyObject *unicode - ); - /* Return an interned Unicode object for an Identifier; may fail if there is no memory.*/ PyAPI_FUNC(PyObject*) _PyUnicode_FromId(_Py_Identifier*); |