diff options
author | Eli Bendersky <eliben@gmail.com> | 2012-06-03 05:07:47 (GMT) |
---|---|---|
committer | Eli Bendersky <eliben@gmail.com> | 2012-06-03 05:07:47 (GMT) |
commit | 0813168e942a81c03727ef4785dceb642b959f20 (patch) | |
tree | 848d9ccbdea7f9f474b23319255973195c7d0021 /Doc/c-api/conversion.rst | |
parent | 11cfea92950eda064e9b5b7048c1951bb084fc43 (diff) | |
download | cpython-0813168e942a81c03727ef4785dceb642b959f20.zip cpython-0813168e942a81c03727ef4785dceb642b959f20.tar.gz cpython-0813168e942a81c03727ef4785dceb642b959f20.tar.bz2 |
Issue #14090: fix some minor C API problems in default branch (3.3)
Diffstat (limited to 'Doc/c-api/conversion.rst')
-rw-r--r-- | Doc/c-api/conversion.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/conversion.rst b/Doc/c-api/conversion.rst index dfc0a3a..9578f98 100644 --- a/Doc/c-api/conversion.rst +++ b/Doc/c-api/conversion.rst @@ -119,13 +119,13 @@ The following functions provide locale-independent string to number conversions. .. versionadded:: 3.1 -.. c:function:: char* PyOS_stricmp(char *s1, char *s2) +.. c:function:: int PyOS_stricmp(char *s1, char *s2) Case insensitive comparison of strings. The function works almost identically to :c:func:`strcmp` except that it ignores the case. -.. c:function:: char* PyOS_strnicmp(char *s1, char *s2, Py_ssize_t size) +.. c:function:: int PyOS_strnicmp(char *s1, char *s2, Py_ssize_t size) Case insensitive comparison of strings. The function works almost identically to :c:func:`strncmp` except that it ignores the case. |