Commit c22ed14d authored by Benjamin Peterson's avatar Benjamin Peterson

document PyUnicode_CompareWithASCIIString

parent e11787a4
......@@ -869,6 +869,12 @@ They all return *NULL* or ``-1`` if an exception occurs.
respectively.
.. cfunction:: int PyUnicode_CompareWithASCIIString(PyObject *uni, char *string)
Compare a unicode object, *uni*, with *string* and return -1, 0, 1 for less
than, equal, and greater than, respectively.
.. cfunction:: int PyUnicode_RichCompare(PyObject *left, PyObject *right, int op)
Rich compare two unicode strings and return one of the following:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment