We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 405f5c5 commit b5bdc0cCopy full SHA for b5bdc0c
Doc/c-api/unicode.rst
@@ -149,7 +149,7 @@ access internal read-only data of Unicode objects:
149
``PyUnicode_WCHAR_KIND`` is deprecated.
150
151
152
-.. c:function:: int PyUnicode_KIND(PyObject *o)
+.. c:function:: unsigned int PyUnicode_KIND(PyObject *o)
153
154
Return one of the PyUnicode kind constants (see above) that indicate how many
155
bytes per character this Unicode object uses to store its data. *o* has to
0 commit comments