mirror of
https://github.com/python/cpython
synced 2024-09-05 00:05:39 +00:00
bpo-43565: Document PyUnicode_KIND's return type as an unsigned int (GH-25724)
This commit is contained in:
parent
a390ebea17
commit
47fd4726a2
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue