bpo-41784: make PyUnicode_AsUTF8AndSize part of the limited API (GH-22252)

This commit is contained in:
Alex Gaynor 2020-10-19 18:17:50 -04:00 committed by GitHub
parent 4dfb190a33
commit 3a8fdb2879
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 26 additions and 20 deletions

View file

@ -1098,6 +1098,9 @@ These are the UTF-8 codec APIs:
.. versionchanged:: 3.7
The return type is now ``const char *`` rather of ``char *``.
.. versionchanged:: 3.10
This function is a part of the :ref:`limited API <stable>`.
.. c:function:: const char* PyUnicode_AsUTF8(PyObject *unicode)