document PyUnicode_CompareWithASCIIString

This commit is contained in:
Benjamin Peterson 2008-07-01 19:12:34 +00:00
parent e11787a4e8
commit c22ed14ddd

View file

@ -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: