summaryrefslogtreecommitdiff
path: root/Cython/Includes/cpython/unicode.pxd
diff options
context:
space:
mode:
Diffstat (limited to 'Cython/Includes/cpython/unicode.pxd')
-rw-r--r--Cython/Includes/cpython/unicode.pxd2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cython/Includes/cpython/unicode.pxd b/Cython/Includes/cpython/unicode.pxd
index 061be0905..ad01ed64d 100644
--- a/Cython/Includes/cpython/unicode.pxd
+++ b/Cython/Includes/cpython/unicode.pxd
@@ -226,7 +226,7 @@ cdef extern from *:
# equal, and greater than, respectively. It is best to pass only ASCII-encoded
# strings, but the function interprets the input string as ISO-8859-1 if it
# contains non-ASCII characters.
- int PyUnicode_CompareWithASCIIString(object uni, char *string) except? -1
+ int PyUnicode_CompareWithASCIIString(object uni, const char *string)
# Rich compare two unicode strings and return one of the following:
#