mirror of
https://github.com/python/cpython.git
synced 2025-07-29 06:05:00 +00:00
Issue #9738: document encodings of unicode functions
This commit is contained in:
parent
555a24f206
commit
dc2081f72b
2 changed files with 9 additions and 6 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue