diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-06-21 14:11:21 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-06-21 14:11:21 (GMT) |
commit | 03863d2b290d0856d7647a0275a73b55b6589fa7 (patch) | |
tree | b108c989aeb591eb444722e7f0046c75689182ab /Doc/c-api/conversion.rst | |
parent | 5fa22fc088ac44c5652107c7c17cda01eaa84a28 (diff) | |
download | cpython-03863d2b290d0856d7647a0275a73b55b6589fa7.zip cpython-03863d2b290d0856d7647a0275a73b55b6589fa7.tar.gz cpython-03863d2b290d0856d7647a0275a73b55b6589fa7.tar.bz2 |
Fixed documentation of functions with const char* arguments.
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 9578f98..9566d9d 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:: int PyOS_stricmp(char *s1, char *s2) +.. c:function:: int PyOS_stricmp(const char *s1, const char *s2) Case insensitive comparison of strings. The function works almost identically to :c:func:`strcmp` except that it ignores the case. -.. c:function:: int PyOS_strnicmp(char *s1, char *s2, Py_ssize_t size) +.. c:function:: int PyOS_strnicmp(const char *s1, const 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. |