summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/unicode.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-06-21 14:12:16 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-06-21 14:12:16 (GMT)
commitcd881b850c95cdb410620f3acc6ebf37e5467192 (patch)
tree203862804b0075c74ee1c1ac06db51bef3ba3ba6 /Doc/c-api/unicode.rst
parent289dd19124734b973e6f43f13328dfeca979d685 (diff)
parent03863d2b290d0856d7647a0275a73b55b6589fa7 (diff)
downloadcpython-cd881b850c95cdb410620f3acc6ebf37e5467192.zip
cpython-cd881b850c95cdb410620f3acc6ebf37e5467192.tar.gz
cpython-cd881b850c95cdb410620f3acc6ebf37e5467192.tar.bz2
Fixed documentation of functions with const char* arguments.
Diffstat (limited to 'Doc/c-api/unicode.rst')
-rw-r--r--Doc/c-api/unicode.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/unicode.rst b/Doc/c-api/unicode.rst
index 1402aba..2eeadb5 100644
--- a/Doc/c-api/unicode.rst
+++ b/Doc/c-api/unicode.rst
@@ -1635,7 +1635,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