diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2015-06-21 17:11:21 +0300 |
|---|---|---|
| committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-06-21 17:11:21 +0300 |
| commit | 03863d2b290d0856d7647a0275a73b55b6589fa7 (patch) | |
| tree | b108c989aeb591eb444722e7f0046c75689182ab /Doc/c-api/unicode.rst | |
| parent | 5fa22fc088ac44c5652107c7c17cda01eaa84a28 (diff) | |
| download | cpython-git-03863d2b290d0856d7647a0275a73b55b6589fa7.tar.gz | |
Fixed documentation of functions with const char* arguments.
Diffstat (limited to 'Doc/c-api/unicode.rst')
| -rw-r--r-- | Doc/c-api/unicode.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/unicode.rst b/Doc/c-api/unicode.rst index 65d24c4083..f7e99d6d99 100644 --- a/Doc/c-api/unicode.rst +++ b/Doc/c-api/unicode.rst @@ -1628,7 +1628,7 @@ They all return *NULL* or ``-1`` if an exception occurs. respectively. -.. c:function:: int PyUnicode_CompareWithASCIIString(PyObject *uni, char *string) +.. c:function:: int PyUnicode_CompareWithASCIIString(PyObject *uni, const char *string) Compare a unicode object, *uni*, with *string* and return -1, 0, 1 for less than, equal, and greater than, respectively. It is best to pass only |
