Skip to content

Commit

Permalink
bpo-43565: Document PyUnicode_KIND's return type as an unsigned int (G…
Browse files Browse the repository at this point in the history
…H-25724) (GH-27440)

(cherry picked from commit 47fd472)

Co-authored-by: Ammar Askar <ammar@ammaraskar.com>
  • Loading branch information
miss-islington and ammaraskar committed Jul 29, 2021
1 parent 49b5e20 commit 7922546
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/c-api/unicode.rst
Expand Up @@ -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
Expand Down

0 comments on commit 7922546

Please sign in to comment.