mirror of
https://github.com/python/cpython.git
synced 2025-10-03 13:45:29 +00:00
bpo-43565: Document PyUnicode_KIND's return type as an unsigned int (GH-25724) (GH-27440)
(cherry picked from commit 47fd4726a2
)
Co-authored-by: Ammar Askar <ammar@ammaraskar.com>
This commit is contained in:
parent
49b5e20fa8
commit
7922546859
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ access internal read-only data of Unicode objects:
|
||||||
``PyUnicode_WCHAR_KIND`` is deprecated.
|
``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
|
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
|
bytes per character this Unicode object uses to store its data. *o* has to
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue