mirror of
https://github.com/python/cpython.git
synced 2025-07-29 06:05:00 +00:00
document PyUnicode_CompareWithASCIIString
This commit is contained in:
parent
e11787a4e8
commit
c22ed14ddd
1 changed files with 6 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue