Issue #9738: document encodings of unicode functions

This commit is contained in:
Victor Stinner 2010-12-27 01:49:29 +00:00
parent 555a24f206
commit dc2081f72b
2 changed files with 9 additions and 6 deletions

View file

@ -1063,7 +1063,8 @@ They all return *NULL* or ``-1`` if an exception occurs.
.. c:function:: 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.
than, equal, and greater than, respectively. *string* is an ASCII-encoded
string (it is interpreted as ISO-8859-1).
.. c:function:: int PyUnicode_RichCompare(PyObject *left, PyObject *right, int op)