bpo-43565: Document PyUnicode_KIND's return type as an unsigned int (GH-25724)

This commit is contained in:
Ammar Askar 2021-07-29 05:10:03 -04:00 committed by GitHub
parent a390ebea17
commit 47fd4726a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -149,7 +149,7 @@ access internal read-only data of Unicode objects:
``PyUnicode_WCHAR_KIND`` is deprecated.
.. c:function:: int PyUnicode_KIND(PyObject *o)
.. c:function:: unsigned int PyUnicode_KIND(PyObject *o)
Return one of the PyUnicode kind constants (see above) that indicate how many
bytes per character this Unicode object uses to store its data. *o* has to