diff --git a/Doc/c-api/unicode.rst b/Doc/c-api/unicode.rst index 07e4d0140e5..a4ee03abc0a 100644 --- a/Doc/c-api/unicode.rst +++ b/Doc/c-api/unicode.rst @@ -342,6 +342,8 @@ APIs: otherwise return a new allocated buffer (use :cfunc:`PyMem_Free` to free the buffer). + .. versionadded:: 3.2 + .. cfunction:: Py_ssize_t PyUnicode_GetSize(PyObject *unicode)